diff options
author | Volodymyr Vasylkun <vvmposeydon@gmail.com> | 2024-08-15 18:08:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 18:08:23 +0100 |
commit | d68d2172f9f1f0659b8b4bdbbeb1ccd290a614b5 (patch) | |
tree | c3ce7744f59a08cea77b93ce330d793f24bd25c6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dd3f1313ae27a76cfce68e926fd90ac7408b3a21 (diff) | |
download | llvm-d68d2172f9f1f0659b8b4bdbbeb1ccd290a614b5.zip llvm-d68d2172f9f1f0659b8b4bdbbeb1ccd290a614b5.tar.gz llvm-d68d2172f9f1f0659b8b4bdbbeb1ccd290a614b5.tar.bz2 |
[InstCombine] Fold `ucmp/scmp(x, y) >> N` to `zext/sext(x < y)` when N is one less than the width of the result of `ucmp/scmp` (#104009)
Proof: https://alive2.llvm.org/ce/z/4diUqN
---------
Co-authored-by: Nikita Popov <github@npopov.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions