[all-commits] [llvm/llvm-project] 3c553f: [InstCombine] Infer nuw on mul nsw with non-negati...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Apr 28 17:53:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c553fc9e0503240c9fa6d937de0cbcb956303ce
https://github.com/llvm/llvm-project/commit/3c553fc9e0503240c9fa6d937de0cbcb956303ce
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/mul.ll
Log Message:
-----------
[InstCombine] Infer nuw on mul nsw with non-negative operands (#90170)
If a mul nsw has non-negative operands, it's also nuw.
Proof: https://alive2.llvm.org/ce/z/2Dz9Uu
Fixes https://github.com/llvm/llvm-project/issues/90020.
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