diff options
author | 黃國庭 <we3223@gmail.com> | 2025-04-29 23:50:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 17:50:53 +0200 |
commit | f37ab152540d374ceff8551abef3de5110e697ee (patch) | |
tree | f26aa3f8cb484420605ef47d527889320ebb74ee /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 30bedb318611d84cf9b0672f6e0675d33f90d2c8 (diff) | |
download | llvm-f37ab152540d374ceff8551abef3de5110e697ee.zip llvm-f37ab152540d374ceff8551abef3de5110e697ee.tar.gz llvm-f37ab152540d374ceff8551abef3de5110e697ee.tar.bz2 |
[InstCombine] Infer exact for lshr by cttz (#136696)
Infer the 'exact' flag on an 'lshr' or 'ashr' instruction when the shift
amount is computed via a 'cttz' intrinsic on the same operand.
Proof: https://alive2.llvm.org/ce/z/CQR2PG
Fixes #131444.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions