Skip to content

Commit 46713b1

Browse files
committed
Add extra test-case
1 parent e30f1ce commit 46713b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ svfloat32_t good3(svfloat32_t a, svfloat32_t b, svfloat32_t c) __arm_streaming_c
2020
return svclamp(a, b, c);
2121
}
2222

23+
__attribute__((target("+sve2p1,+sme2")))
24+
svfloat32_t good4(svfloat32_t a, svfloat32_t b, svfloat32_t c) __arm_streaming {
25+
return svclamp(a, b, c);
26+
}
27+
2328
// Without '+sme2', the builtin is only valid in non-streaming mode.
2429
__attribute__((target("+sve2p1,+sme")))
2530
svfloat32_t bad1(svfloat32_t a, svfloat32_t b, svfloat32_t c) __arm_streaming {

0 commit comments

Comments
 (0)