aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/lib/DifferenceEngine.cpp
diff options
context:
space:
mode:
authorJuan Manuel Martinez CaamaƱo <jmartinezcaamao@gmail.com>2025-11-03 15:22:21 +0100
committerGitHub <noreply@github.com>2025-11-03 15:22:21 +0100
commitbf2f5773d9d50d74a4cdeac4d88762e2d9776175 (patch)
tree7a07d635e03f66793fa1158847664986db252d10 /llvm/tools/llvm-diff/lib/DifferenceEngine.cpp
parent5256db32bb14a358a23251f714cc39d4d761fef1 (diff)
downloadllvm-bf2f5773d9d50d74a4cdeac4d88762e2d9776175.zip
llvm-bf2f5773d9d50d74a4cdeac4d88762e2d9776175.tar.gz
llvm-bf2f5773d9d50d74a4cdeac4d88762e2d9776175.tar.bz2
[Clang] Make the AS of llvm.compiler.used & llvm.used elements addrspace(0) (#164432)
By convention the AS of the elements of `llvm.compiler.used` & `llvm.used` is 0. However, the AS of `CGM.Int8PtrTy` is not always 0. This leaves some LLVM helpers (`appendToUsed/appendToCompilerUsed/removeFromUsedLists`) unusable. This patch makes the AS of the elements of these variables to be 0. This PR is related to https://github.com/llvm/llvm-project/pull/162660
Diffstat (limited to 'llvm/tools/llvm-diff/lib/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions