[llvm] [IR] Add TargetExtType::CanBeAlloca property (PR #99016)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 03:39:29 PDT 2024


================
@@ -838,12 +838,14 @@ static TargetTypeInfo getTargetTypeInfo(const TargetExtType *Ty) {
     return TargetTypeInfo(PointerType::get(C, 0), TargetExtType::CanBeGlobal);
----------------
jayfoad wrote:

I made a complete guess here that spirv.Image should not be used in allocas, so that I could use it as a test case. Please let me know if I got that wrong.

https://github.com/llvm/llvm-project/pull/99016


More information about the llvm-commits mailing list