diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-05-31 11:39:29 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-05-31 12:37:56 -0400 |
commit | 2bf6123f22c65995dec60e02944b459424532d9b (patch) | |
tree | 4f59439652ce2b26a916291e9ad8c17705d90af8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f3fe38448b8c41f828ed03dc704e8b918e3b773e (diff) | |
download | llvm-2bf6123f22c65995dec60e02944b459424532d9b.zip llvm-2bf6123f22c65995dec60e02944b459424532d9b.tar.gz llvm-2bf6123f22c65995dec60e02944b459424532d9b.tar.bz2 |
[InstCombine] fold icmp of sext bool based on limited range
X <=u (sext i1 Y) --> (X == 0) | Y
https://alive2.llvm.org/ce/z/W_tZzo
This is the conjugate/sibling pattern suggested with D126171
for a sign-extended bool value.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions