Skip to content

Commit 4ed745c

Browse files
committed
Fixed a test issue
1 parent c1f916c commit 4ed745c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/test/Driver/hip-code-object-version.hip

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222

2323
// Check bundle ID for code object version 6.
2424

25-
// RUN: not %clang -### --target=x86_64-linux-gnu \
25+
// RUN: %clang -### --target=x86_64-linux-gnu \
2626
// RUN: -mcode-object-version=6 \
2727
// RUN: --offload-arch=gfx906 --rocm-path=%S/Inputs/rocm \
2828
// RUN: %s 2>&1 | FileCheck -check-prefix=V6 %s
2929

30+
// V6: "-mcode-object-version=6"
31+
// V6: "-mllvm" "--amdhsa-code-object-version=6"
32+
// V6: "-targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx906"
3033

3134
// Check bundle ID for code object version default
3235

0 commit comments

Comments
 (0)