[llvm] [GISel] Funnel shift combiner port from SelectionDAG ISel to GlobalISel (PR #135132)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 20:10:36 PDT 2025


================
@@ -105,3 +105,51 @@ define i16 @test_shl_i48_2(i48 %x, i48 %y) {
   %trunc = trunc i48 %shl to i16
   ret i16 %trunc
 }
+
+define i32 @test_fshl_i32(i32 %x, i32 %_, i32 %y) {
----------------
mshockwave wrote:

you could add `signext` to each of these arguments so that all the `RV32` and `RV64` checks could be merged (the UTC script will do the merge for you)

https://github.com/llvm/llvm-project/pull/135132


More information about the llvm-commits mailing list