We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25f12ff commit 7a7619dCopy full SHA for 7a7619d
llvm-spirv/lib/SPIRV/SPIRVReader.cpp
@@ -3034,6 +3034,10 @@ Function *SPIRVToLLVM::transFunction(SPIRVFunction *BF) {
3034
mapValue(BA, &(*I));
3035
setName(&(*I), BA);
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;
3041
Attribute::AttrKind LLVMKind = SPIRSPIRVFuncParamAttrMap::rmap(Kind);
3042
Type *AttrTy = nullptr;
3043
switch (LLVMKind) {
llvm-spirv/test/extensions/INTEL/SPV_INTEL_runtime_aligned/RuntimeAligned.spt
@@ -1,4 +1,3 @@
1
-; XFAIL: *
2
; RUN: llvm-spirv -spirv-text -r %s -o %t.bc
3
; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
4
0 commit comments