diff options
| author | Nikita Popov <npopov@redhat.com> | 2025-10-21 15:08:28 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2025-10-21 15:12:36 +0200 |
| commit | 6c4d121e7f963d1a53b5fa0aee8832f2b260248b (patch) | |
| tree | 72a6c8ec79a4d213f8ca07655749d4c9344b4382 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | 88d303e6d42a17a5b1789f6f4b3a1b4ee98b5bf7 (diff) | |
| download | llvm-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
