aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorNatalie Chouinard <1953083+sudonatalie@users.noreply.github.com>2023-09-12 15:11:59 +0000
committerGitHub <noreply@github.com>2023-09-12 17:11:59 +0200
commitc8d405323e2f7c4ce6d65168ad8e79f669feece2 (patch)
tree8ba946e408687ea8aff99966522508149f51319e /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parentbc5dac17439dc7be0a5cbdf3b4f19845c2d873d6 (diff)
downloadllvm-c8d405323e2f7c4ce6d65168ad8e79f669feece2.zip
llvm-c8d405323e2f7c4ce6d65168ad8e79f669feece2.tar.gz
llvm-c8d405323e2f7c4ce6d65168ad8e79f669feece2.tar.bz2
[SPIRV] Get pointer size from datalayout (#66096)
Get the pointer size from the datalayout via the TargetMachine and remove the helper function that hardcoded it. This fixes an issue caused by mismatched pointer sizes between the two for logical SPIR-V, since the computePointerSize function still defaulted to 32-bit ptr sizes.
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions