diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-07-20 15:01:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-20 15:01:44 +0800 |
commit | 9e587ce6f0da91ee71dd6920dff0930b291169bb (patch) | |
tree | f5d08a57b7ff3c87324360210c72ec87d015e7c2 /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | 51af47e53c32d29c0e29cbdcd66d8bbd41b673f3 (diff) | |
download | llvm-9e587ce6f0da91ee71dd6920dff0930b291169bb.zip llvm-9e587ce6f0da91ee71dd6920dff0930b291169bb.tar.gz llvm-9e587ce6f0da91ee71dd6920dff0930b291169bb.tar.bz2 |
[SCCP] Simplify [us]cmp(X, Y) into X - Y (#144717)
If the difference between [us]cmp's operands is not greater than 1, we
can simplify it into `X - Y`.
Alive2: https://alive2.llvm.org/ce/z/JS55so
llvm-opt-benchmark diff:
https://github.com/dtcxzyw/llvm-opt-benchmark/pull/2464/files
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions