aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-10-08 16:31:58 +0200
committerNikita Popov <npopov@redhat.com>2025-10-08 16:34:14 +0200
commitea78bfae78f63f0a963a9099054411db6c0eecae (patch)
tree40b577962f57e0f7ba391b16a2a1791f579c287c /llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
parentee192315b2db387ce6fd2af08fc5f619178b2439 (diff)
downloadllvm-ea78bfae78f63f0a963a9099054411db6c0eecae.zip
llvm-ea78bfae78f63f0a963a9099054411db6c0eecae.tar.gz
llvm-ea78bfae78f63f0a963a9099054411db6c0eecae.tar.bz2
[FastISel] Add support for ptrtoaddr
Handle it the same as ptrtoint. For ptrtoaddr the resulting integer size is guaranteed to match the address size. For the case where address size and pointer size match, this will be a no-op. For the case where the address size is smaller than the pointer size, this will be a truncate (but this is not testable with in-tree targets).
Diffstat (limited to 'llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp')
0 files changed, 0 insertions, 0 deletions