Closed
Description
Diagnostic is duplicated after LLVM pulldown for kernel definition and kernel call.
See example below for clang/test/SemaSYCL/inline-asm.cpp LIT test.
Corresponding LIT test has been XFAILed (a28778c) to unblock pulldown
/build/bin/clang -cc1 -internal-isystem /build/lib/clang/11.0.0/include -nostdsysteminc -fsycl -fsycl-is-device -fsyntax-only /llvm_src/clang/test/SemaSYCL/inline-asm.cpp -DLINUX_ASM -DSPIR_CHECK -triple spir64-unknown-unknown-sycldevice
/llvm_src/clang/test/SemaSYCL/inline-asm.cpp:30:13: error: invalid output constraint '=a' in asm
: "=a"(__result), "=b"(__d[0]), "=c"(__d[1]), "=d"(__d[2])
^
/llvm_src/clang/test/SemaSYCL/inline-asm.cpp:65:3: note: called by 'kernel_single_task'
asm_func_2(i, d);
^
/llvm_src/clang/test/SemaSYCL/inline-asm.cpp:30:13: error: invalid output constraint '=a' in asm
: "=a"(__result), "=b"(__d[0]), "=c"(__d[1]), "=d"(__d[2])
^
/llvm_src/clang/test/SemaSYCL/inline-asm.cpp:65:3: note: called by 'kernel_single_task<fake_kernel, (lambda at /llvm_src/clang/test/SemaSYCL/inline-asm.cpp:74:41)>'
asm_func_2(i, d);
^
2 errors generated.
Metadata
Metadata
Assignees
Labels
No labels