diff options
author | Nikita Popov <npopov@redhat.com> | 2024-04-29 09:53:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 09:53:09 +0900 |
commit | 3c553fc9e0503240c9fa6d937de0cbcb956303ce (patch) | |
tree | 8ecea113d23cd401d7c327004b1412660a5e9de2 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | feaddc10194e54a5ef977320134956ad91591324 (diff) | |
download | llvm-3c553fc9e0503240c9fa6d937de0cbcb956303ce.zip llvm-3c553fc9e0503240c9fa6d937de0cbcb956303ce.tar.gz llvm-3c553fc9e0503240c9fa6d937de0cbcb956303ce.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions