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) {
3034
3034
mapValue (BA, &(*I));
3035
3035
setName (&(*I), BA);
3036
3036
BA->foreachAttr ([&](SPIRVFuncParamAttrKind Kind) {
3037
+ // Skip this function parameter attribute as it will translated among
3038
+ // OpenCL metadata
3039
+ if (Kind == FunctionParameterAttributeRuntimeAlignedINTEL)
3040
+ return ;
3037
3041
Attribute::AttrKind LLVMKind = SPIRSPIRVFuncParamAttrMap::rmap (Kind);
3038
3042
Type *AttrTy = nullptr ;
3039
3043
switch (LLVMKind) {
Original file line number Diff line number Diff line change 1
- ; XFAIL: *
2
1
; RUN: llvm-spirv -spirv-text -r %s -o %t.bc
3
2
; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
4
3
You can’t perform that action at this time.
0 commit comments