Skip to content

Commit 316f68f

Browse files
authored
[RISCV] Remove the TODO for folding bswap and shift from the test. (NFC) (#129972)
https://reviews.llvm.org/D122655 has supported it.
1 parent 463a096 commit 316f68f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/test/CodeGen/RISCV/bswap-shift.ll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
; RUN: llc -mtriple=riscv64 -mattr=+zbkb -verify-machineinstrs < %s \
99
; RUN: | FileCheck %s -check-prefixes=RV64ZB
1010

11-
; TODO: These tests can be optmised, with x%8 == 0
12-
; fold (bswap(srl (bswap c), x)) -> (shl c, x)
13-
; fold (bswap(shl (bswap c), x)) -> (srl c, x)
14-
1511
declare i16 @llvm.bswap.i16(i16)
1612
declare i32 @llvm.bswap.i32(i32)
1713
declare i64 @llvm.bswap.i64(i64)

0 commit comments

Comments
 (0)