[all-commits] [llvm/llvm-project] ad1e10: [PowerPC] Require PPC32 for 32-bit addc/adde/subc/...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Feb 11 00:06:24 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad1e107a8c6d92605119b70183c4a38da86a663f
https://github.com/llvm/llvm-project/commit/ad1e107a8c6d92605119b70183c4a38da86a663f
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
Log Message:
-----------
[PowerPC] Require PPC32 for 32-bit addc/adde/subc/sube (#179186)
Unlike the base add/sub opcodes which will just overflow, these will
produce incorrect results, because the carry operates on the full
64-bits. Trying to use these with i32 operands on PPC64 should result in
a selection failure instead of a silent miscompile, like the one seen in
https://github.com/llvm/llvm-project/pull/178979.
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