diff options
| author | Nikolay Panchenko <npanchen@modular.com> | 2024-11-15 09:36:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 15:36:35 +0100 |
| commit | 6c1fc8213ee40896681ed84a3f91b1b5b56a4de8 (patch) | |
| tree | 9f264fbe00783d63ce946fb65beb5d73ef30c075 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 8ee638fd175245eff88d77e1607e478db237dd41 (diff) | |
| download | llvm-6c1fc8213ee40896681ed84a3f91b1b5b56a4de8.zip llvm-6c1fc8213ee40896681ed84a3f91b1b5b56a4de8.tar.gz llvm-6c1fc8213ee40896681ed84a3f91b1b5b56a4de8.tar.bz2 | |
[InstCombine] fold `sub(zext(ptrtoint),zext(ptrtoint))` (#115369)
On a 32-bit target if pointer arithmetic with `addrspace` is used in i64
computation, the missed folding in InstCombine results to suboptimal
performance, unlike same code compiled for 64bit target.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
