aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-06-25 11:26:15 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-06-25 18:22:26 +0200
commit1e6303e60ca5af4fbe7ca728572fd65666a98271 (patch)
treef6d50cc268871852cbcf927467c245f026d50005 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent4d8156ef87f8bc6fdb8ed03b2f87123d02ac7321 (diff)
downloadllvm-1e6303e60ca5af4fbe7ca728572fd65666a98271.zip
llvm-1e6303e60ca5af4fbe7ca728572fd65666a98271.tar.gz
llvm-1e6303e60ca5af4fbe7ca728572fd65666a98271.tar.bz2
[OpaquePtr] Allow globals with opaque pointer value type
Do this by making opaque pointers a valid pointer element type, for which we implicitly create an opaque pointer (moving the logic from getPointerTo into PointerType::get). We'll never create something like a "pointer to opaque pointer", but accept it in the API, because a lot of code reasonably assumes that you can create a pointer to pointer type. Differential Revision: https://reviews.llvm.org/D104902
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions