diff options
author | Nikita Popov <npopov@redhat.com> | 2025-10-09 14:57:29 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2025-10-09 14:59:23 +0200 |
commit | 5841319aca0f2596cc00ab83d54ec07c9b70da3c (patch) | |
tree | 42aa2c426d4f8953557414726d9fa2c9070335a1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 9abd6f22d4711f229582eed99b749980f29fe6c1 (diff) | |
download | llvm-5841319aca0f2596cc00ab83d54ec07c9b70da3c.zip llvm-5841319aca0f2596cc00ab83d54ec07c9b70da3c.tar.gz llvm-5841319aca0f2596cc00ab83d54ec07c9b70da3c.tar.bz2 |
[ConstantFolding] Support ptrtoadd in IsConstantOffsetFromGlobal()
Handle ptrtoaddr the same way as ptrtoint. This code is already
working on the index size (= address size) of the pointer only.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions