aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2022-04-25 12:23:09 +0200
committerMarkus Böck <markus.boeck02@gmail.com>2022-04-25 12:23:16 +0200
commit12a27169535aae8f815849814d8811292908f654 (patch)
tree386bb8cfb4b9780f07ff2ba2fd283d6ab70006f1 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent042dc3c46d730b3111189363463b431290e41f29 (diff)
downloadllvm-12a27169535aae8f815849814d8811292908f654.zip
llvm-12a27169535aae8f815849814d8811292908f654.tar.gz
llvm-12a27169535aae8f815849814d8811292908f654.tar.bz2
[mlir][LLVM] Support opaque pointers in `llvm.mlir.addressof`
The verifier of llvm.mlir.addressof did not properly account for opaque pointers, that is, the pointer type not having an element type equal to the type of the referenced global or function. This patch fixes that by skipping the test for the element type if the pointer is opaque. Differential Revision: https://reviews.llvm.org/D124333
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions