[clang] f119a4f - [HLSL] Fix broken spir-v test

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 13:53:47 PDT 2024


Author: Chris Bieneman
Date: 2024-04-02T15:53:17-05:00
New Revision: f119a4ffb885ed588c46de1d51f4185572142ca2

URL: https://github.com/llvm/llvm-project/commit/f119a4ffb885ed588c46de1d51f4185572142ca2
DIFF: https://github.com/llvm/llvm-project/commit/f119a4ffb885ed588c46de1d51f4185572142ca2.diff

LOG: [HLSL] Fix broken spir-v test

This fixes a test broken in 3d469c0e7c3072f0dad0f5e9bd0c74dffaf83cd3.
fast-forwarded.
../clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl

Added: 
    

Modified: 
    clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl b/clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl
index 379c8f118f52f3..6ea80d692cd244 100644
--- a/clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl
+++ b/clang/test/CodeGenHLSL/builtins/wave_get_lane_index_subcall.hlsl
@@ -12,7 +12,7 @@ uint test_1() {
 
 // CHECK: define spir_func noundef i32 @_Z6test_2v() [[A0]] {
 // CHECK: %[[C2:[0-9]+]] = call token @llvm.experimental.convergence.entry()
-// CHECK: call spir_func noundef i32 @_Z6test_1v() [ "convergencectrl"(token %[[C2]]) ]
+// CHECK: call spir_func noundef i32 @_Z6test_1v() {{#[0-9]+}} [ "convergencectrl"(token %[[C2]]) ]
 uint test_2() {
   return test_1();
 }


        


More information about the cfe-commits mailing list