[all-commits] [llvm/llvm-project] 20e37f: [GISel] Don't preserve NSW flag when converting G_...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sat Oct 5 10:27:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20e37f03c64589c366fccd766ab9120db6da4aa0
https://github.com/llvm/llvm-project/commit/20e37f03c64589c366fccd766ab9120db6da4aa0
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-10-05 (Sat, 05 Oct 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-mul-to-shl.mir
Log Message:
-----------
[GISel] Don't preserve NSW flag when converting G_MUL of INT_MIN to G_SHL. (#111230)
mul and shl have different meanings for the nsw flag. We need to drop it
when converting a multiply by the minimum negative value.
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