[llvm] [SPIRV] Lower `spirv.Layout` type (PR #140059)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Mon May 26 05:07:51 PDT 2025
================
@@ -974,7 +974,7 @@ SPIRVType *SPIRVGlobalRegistry::getOpTypeStruct(
for (const auto &Elem : Ty->elements()) {
SPIRVType *ElemTy = findSPIRVType(toTypedPointer(Elem), MIRBuilder, AccQual,
- ExplicitLayoutRequired, EmitIR);
+ Decorator != nullptr, EmitIR);
----------------
Keenuts wrote:
nit
```suggestion
/* ExplicitLayoutRequired= */ Decorator != nullptr, EmitIR);
```
https://github.com/llvm/llvm-project/pull/140059
More information about the llvm-commits
mailing list