[all-commits] [llvm/llvm-project] e00366: [AArch64] Check for negative numbers when adjustin...
AZero13 via All-commits
all-commits at lists.llvm.org
Fri May 30 07:23:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e00366dcde294b420ae9decf5ac5d85463fd274f
https://github.com/llvm/llvm-project/commit/e00366dcde294b420ae9decf5ac5d85463fd274f
Author: AZero13 <gfunni234 at gmail.com>
Date: 2025-05-30 (Fri, 30 May 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-csel.ll
M llvm/test/CodeGen/AArch64/check-sign-bit-before-extension.ll
M llvm/test/CodeGen/AArch64/cmp-to-cmn.ll
M llvm/test/CodeGen/AArch64/csel-subs-swapped.ll
M llvm/test/CodeGen/AArch64/logical_shifted_reg.ll
M llvm/test/CodeGen/AArch64/select-constant-xor.ll
M llvm/test/CodeGen/AArch64/signbit-shift.ll
M llvm/test/CodeGen/AArch64/signbit-test.ll
M llvm/test/CodeGen/AArch64/typepromotion-signed.ll
M llvm/test/CodeGen/AArch64/use-cr-result-of-dom-icmp-st.ll
M llvm/test/CodeGen/AArch64/win64_vararg.ll
Log Message:
-----------
[AArch64] Check for negative numbers when adjusting icmps (#141151)
This relies on the fact that we can use tst and ands for comparisons as
by emitComparison.
Also has mitigations for when comparing with -1 and 1 to avoid
regressions.
Fixes: https://github.com/llvm/llvm-project/issues/141137
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list