[llvm] [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (PR #107432)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 00:48:46 PDT 2024


================
@@ -189,8 +189,6 @@ define signext i32 @sdiv_si32_ui32_ui32(i32 %a, i32 %b) {
 ;
 ; LA64-LABEL: sdiv_si32_ui32_ui32:
 ; LA64:       # %bb.0: # %entry
-; LA64-NEXT:    addi.w $a1, $a1, 0
----------------
dtcxzyw wrote:

Fixed. I use `assertsexti32` instead. It only matches `AssertSExt` nodes.

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


More information about the llvm-commits mailing list