[llvm] ddb8870 - [RISCV] Remove the FIXME for using sraiw+and. NFC.
    Jim Lin via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr 21 18:32:11 PDT 2025
    
    
  
Author: Jim Lin
Date: 2025-04-22T09:13:11+08:00
New Revision: ddb8870a5f396f2f17462f878fb7c0cffc879ce4
URL: https://github.com/llvm/llvm-project/commit/ddb8870a5f396f2f17462f878fb7c0cffc879ce4
DIFF: https://github.com/llvm/llvm-project/commit/ddb8870a5f396f2f17462f878fb7c0cffc879ce4.diff
LOG: [RISCV] Remove the FIXME for using sraiw+and. NFC.
https://github.com/llvm/llvm-project/pull/102034 has implemented it.
Added: 
    
Modified: 
    llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll
Removed: 
    
################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll b/llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll
index 0d96fbfa81279..3fbaefffac2ef 100644
--- a/llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll
+++ b/llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll
@@ -263,7 +263,6 @@ define i64 @sel_shift_bool_i64(i1 %t) {
   ret i64 %shl
 }
 
-; FIXME: This should use sraiw+and
 define i64 @sraiw_andi(i32 signext %0, i32 signext %1) nounwind {
 ; RV32-LABEL: sraiw_andi:
 ; RV32:       # %bb.0: # %entry
        
    
    
More information about the llvm-commits
mailing list