Skip to content

Commit 353045d

Browse files
committed
fixup! Add FIXMEs.
1 parent 30f023d commit 353045d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/CodeGen/RISCV/GlobalISel/rv64zbb-zbkb.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ define void @rol_i32_nosext(i32 signext %a, i32 signext %b, ptr %x) nounwind {
152152
ret void
153153
}
154154

155+
; FIXME: Bad materialization of -2 as 0xfffffffe.
155156
define signext i32 @rol_i32_neg_constant_rhs(i32 signext %a) nounwind {
156157
; RV64I-LABEL: rol_i32_neg_constant_rhs:
157158
; RV64I: # %bb.0:
@@ -240,6 +241,7 @@ define void @ror_i32_nosext(i32 signext %a, i32 signext %b, ptr %x) nounwind {
240241
ret void
241242
}
242243

244+
; FIXME: Bad materialization of -2 as 0xfffffffe.
243245
define signext i32 @ror_i32_neg_constant_rhs(i32 signext %a) nounwind {
244246
; RV64I-LABEL: ror_i32_neg_constant_rhs:
245247
; RV64I: # %bb.0:
@@ -473,6 +475,7 @@ define i16 @srli_i16(i16 %a) nounwind {
473475

474476
; We could use sext.h+srai, but slli+srai offers more opportunities for
475477
; comppressed instructions.
478+
; FIXME: Combine back to back srai.
476479
define i16 @srai_i16(i16 %a) nounwind {
477480
; RV64I-LABEL: srai_i16:
478481
; RV64I: # %bb.0:

0 commit comments

Comments
 (0)