[llvm] [LegalizeTypes] Create an ISD::ADD instead of an ISD::UADDO with unused overflow result. (PR #100647)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 13:10:23 PDT 2024
================
@@ -115,7 +115,7 @@ define i128 @knownbits_mask_addc_shl(i64 %a0, i64 %a1, i64 %a2) nounwind {
; X64-NEXT: andq $-1024, %rdi # imm = 0xFC00
; X64-NEXT: andq $-1024, %rsi # imm = 0xFC00
; X64-NEXT: addq %rdi, %rsi
-; X64-NEXT: adcq $0, %rdx
+; X64-NEXT: adcl $0, %edx
----------------
arsenm wrote:
I'm surprised this wasn't already cleaned up by a combine later
https://github.com/llvm/llvm-project/pull/100647
More information about the llvm-commits
mailing list