We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da03d17 commit 4a0bf83Copy full SHA for 4a0bf83
clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
@@ -11,6 +11,7 @@ void main(unsigned GI : SV_GroupIndex) {
11
// Even at -O0 the subscript operators get inlined. The -O0 IR is a bit messy
12
// and confusing to follow so the match here is pretty weak.
13
14
-// CHECK: define internal void @"?main@@YAXI@Z"
15
-// CHECK-NOT: call
+// CHECK: define void @main()
+// Verify inlining leaves only calls to "llvm." intrinsics
16
+// CHECK-NOT: call {{[^@]*}} @{{[^l][^l][^v][^m][^\.]}}
17
// CHECK: ret void
0 commit comments