Skip to content

Commit da03d17

Browse files
committed
Revert "[HLSL] update StructuredBuffer subscript test for alwaysinline (#109023)"
This reverts commit f4fe26d. Reason: 4a63f4d reverted "[HLSL] set alwaysinline on HLSL functions (#106588)" due to a buildbot failure; this test (which builds upon the reverted patch) also needs to be reverted.
1 parent aa2e6b8 commit da03d17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ void main(unsigned GI : SV_GroupIndex) {
1111
// Even at -O0 the subscript operators get inlined. The -O0 IR is a bit messy
1212
// and confusing to follow so the match here is pretty weak.
1313

14-
// CHECK: define void @main()
15-
// Verify inlining leaves only calls to "llvm." intrinsics
16-
// CHECK-NOT: call {{[^@]*}} @{{[^l][^l][^v][^m][^\.]}}
14+
// CHECK: define internal void @"?main@@YAXI@Z"
15+
// CHECK-NOT: call
1716
// CHECK: ret void

0 commit comments

Comments
 (0)