diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2023-11-17 21:50:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 21:50:21 +0800 |
commit | 26ce3e4239150ccc3328c43e4b47264989c07411 (patch) | |
tree | 8ab9ae3c0a7b26163bcf2bc27d62eff72cbea0c2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f049395fc8d6d8bbbc711c7a2ce293210c580240 (diff) | |
download | llvm-26ce3e4239150ccc3328c43e4b47264989c07411.zip llvm-26ce3e4239150ccc3328c43e4b47264989c07411.tar.gz llvm-26ce3e4239150ccc3328c43e4b47264989c07411.tar.bz2 |
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X, (C1 >> C2)` (#72625)
Alive2: https://alive2.llvm.org/ce/z/TU_V9M
This missed optimization is discovered with the help of
https://github.com/AliveToolkit/alive2/pull/962.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions