Skip to content

Commit

Permalink
Revert "[HLSL] update StructuredBuffer subscript test for alwaysinline (
Browse files Browse the repository at this point in the history
llvm#109023)"

This reverts commit f4fe26d.

Reason: 4a63f4d reverted "[HLSL] set alwaysinline on HLSL functions (llvm#106588)" due to a buildbot failure; this test (which builds upon the reverted patch) also needs to be reverted.
  • Loading branch information
thurstond authored and hamphet committed Sep 18, 2024
1 parent 456c0f9 commit 282c941
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ void main(unsigned GI : SV_GroupIndex) {
// Even at -O0 the subscript operators get inlined. The -O0 IR is a bit messy
// and confusing to follow so the match here is pretty weak.

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

0 comments on commit 282c941

Please sign in to comment.