diff options
author | mayanksolanki393 <mayanksolanki393@gmail.com> | 2025-06-16 13:16:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-16 09:46:52 +0200 |
commit | 4e0dd007ac6a7b7e0a284062b61c6d22250337df (patch) | |
tree | e234aed9d2c82dc7e65650c93b9d827cfe58776e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ee2d7a6975f37c11bffbf3207879696aca7fcc65 (diff) | |
download | llvm-4e0dd007ac6a7b7e0a284062b61c6d22250337df.zip llvm-4e0dd007ac6a7b7e0a284062b61c6d22250337df.tar.gz llvm-4e0dd007ac6a7b7e0a284062b61c6d22250337df.tar.bz2 |
[InstCombine] Combine trunc (lshr X, BW-1) to i1 --> icmp slt X, 0 (#142593) (#143846)
Fixes #142593, the issue was fixed using the suggestion on the ticket
itself.
Godbolt: https://godbolt.org/z/oW5b74jc4
alive2 proof: https://alive2.llvm.org/ce/z/QHnD7e
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions