aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-10-21 15:08:28 +0200
committerNikita Popov <npopov@redhat.com>2025-10-21 15:12:36 +0200
commit6c4d121e7f963d1a53b5fa0aee8832f2b260248b (patch)
tree72a6c8ec79a4d213f8ca07655749d4c9344b4382 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent88d303e6d42a17a5b1789f6f4b3a1b4ee98b5bf7 (diff)
downloadllvm-6c4d121e7f963d1a53b5fa0aee8832f2b260248b.zip
llvm-6c4d121e7f963d1a53b5fa0aee8832f2b260248b.tar.gz
llvm-6c4d121e7f963d1a53b5fa0aee8832f2b260248b.tar.bz2
[IR] Do not combine ptrtoaddr and trunc
The ptrtoaddr result type is required to match the pointer address width. This means that, unlikely with ptrtoint, it's not legal to merge a ptrtoint and trunc. This previously resulted in an IR verifier failure.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions