diff options
author | Nikita Popov <npopov@redhat.com> | 2025-10-09 10:37:27 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2025-10-09 10:39:25 +0200 |
commit | 69f2de1996e238cd1fb6708444b3209538f55c59 (patch) | |
tree | 384b025dec65a8ba9cbb8dea6800612f405015a5 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 9abb344e572e165f01d7789522113d9a4d8b0ca6 (diff) | |
download | llvm-69f2de1996e238cd1fb6708444b3209538f55c59.zip llvm-69f2de1996e238cd1fb6708444b3209538f55c59.tar.gz llvm-69f2de1996e238cd1fb6708444b3209538f55c59.tar.bz2 |
[InstCombine] Add test for inttoptr of ptrtoaddr (NFC)
And document that we're intentionally not folding this case.
For inttoptr of ptrtoint this is controlled by the
-disable-i2p-p2i-opt flag, but I don't think there is a need to
replicate this known unsound fold for ptrtoaddr, given their
different usage characteristics.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions