diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-01-17 16:59:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 16:59:04 +0800 |
commit | 0e13ce770bfbee7cfbc8086a038a950fe12c03d5 (patch) | |
tree | 2c869cb5135c76c9f4db8b1a18b34e371aac6ac9 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9720be95d63ce797437015d0f0edd10b02e80b7a (diff) | |
download | llvm-0e13ce770bfbee7cfbc8086a038a950fe12c03d5.zip llvm-0e13ce770bfbee7cfbc8086a038a950fe12c03d5.tar.gz llvm-0e13ce770bfbee7cfbc8086a038a950fe12c03d5.tar.bz2 |
[InstCombine] Handle mul in `maintainNoSignedWrap` (#123299)
Alive2: https://alive2.llvm.org/ce/z/Kgamks
Closes https://github.com/llvm/llvm-project/issues/123175.
For `@foo1`, the nsw flag is propagated because we first convert it into
`mul nsw nuw (shl nsw nuw X, 1), 3`.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions