File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
test/extensions/INTEL/SPV_INTEL_runtime_aligned Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3034,6 +3034,10 @@ Function *SPIRVToLLVM::transFunction(SPIRVFunction *BF) {
30343034 mapValue (BA, &(*I));
30353035 setName (&(*I), BA);
30363036 BA->foreachAttr ([&](SPIRVFuncParamAttrKind Kind) {
3037+ // Skip this function parameter attribute as it will translated among
3038+ // OpenCL metadata
3039+ if (Kind == FunctionParameterAttributeRuntimeAlignedINTEL)
3040+ return ;
30373041 Attribute::AttrKind LLVMKind = SPIRSPIRVFuncParamAttrMap::rmap (Kind);
30383042 Type *AttrTy = nullptr ;
30393043 switch (LLVMKind) {
Original file line number Diff line number Diff line change 1- ; XFAIL: *
21; RUN: llvm-spirv -spirv-text -r %s -o %t.bc
32; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
43
You can’t perform that action at this time.
0 commit comments