diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-01-06 02:32:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 02:32:57 +0800 |
commit | 848d7af956442fbf08310cc2d094035802fbe6ea (patch) | |
tree | c6429f26e573d374c379440a4bbc2d1ddbb12393 /llvm/lib/IR/Operator.cpp | |
parent | 0cb98167ecee4b8e91fb07cb186daae616045454 (diff) | |
download | llvm-848d7af956442fbf08310cc2d094035802fbe6ea.zip llvm-848d7af956442fbf08310cc2d094035802fbe6ea.tar.gz llvm-848d7af956442fbf08310cc2d094035802fbe6ea.tar.bz2 |
[CVP] Improve the value solving of select at use (#76700)
This patch improves the value solving of select at use if the condition
is an icmp and we know the result of comparison from
`LVI->getPredicateAt`.
Compile-time impact:
http://llvm-compile-time-tracker.com/compare.php?from=7e405eb722e40c79b7726201d0f76b5dab34ba0f&to=3c315b1ddcb0ad82554b33f08b9356679fae4bb7&stat=instructions:u
|stage1-O3|stage1-ReleaseThinLTO|stage1-ReleaseLTO-g|stage1-O0-g|stage2-O3|stage2-O0-g|stage2-clang|
|--|--|--|--|--|--|--|
|-0.01%|+0.01%|-0.00%|-0.00%|-0.08%|+0.02%|-0.01%|
Diffstat (limited to 'llvm/lib/IR/Operator.cpp')
0 files changed, 0 insertions, 0 deletions