aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-06-23 13:08:46 +0200
committerNikita Popov <npopov@redhat.com>2023-06-23 13:11:28 +0200
commita68c9687556696522e0d3ee62857714250d58a93 (patch)
tree37469e525deac9d6a0a7284eb2fab553228e1e8b /llvm/lib/Object/ObjectFile.cpp
parent63342ae4b8f7573fd03fdb6eb38d55097b9a6922 (diff)
downloadllvm-a68c9687556696522e0d3ee62857714250d58a93.zip
llvm-a68c9687556696522e0d3ee62857714250d58a93.tar.gz
llvm-a68c9687556696522e0d3ee62857714250d58a93.tar.bz2
[ValueTracking] Correctly check addrspace of alloca
The DataLayout alloca address space is the address space that should be used when creating new allocas. However, not all allocas are required to be in this address space. The isKnownNonZero() check should work on the actual address space of the alloca, not the default alloca address space.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions