Skip to content

Commit 1268740

Browse files
committed
fix value reference in replacement shuffle
1 parent 14215d7 commit 1268740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/DirectX/min_vec_size.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ target triple = "dxil-unknown-shadermodel6.7-library"
66
; Make sure vec combine min vec size is 1 instead of 4 for float.
77
; CHECK:@foo()
88
; CHECK-NEXT:%[[LD:[0-9]+]] = load <1 x float>, ptr @a, align 8
9-
; CHECK-NEXT:%shuffle = shufflevector <1 x float> %1, <1 x float> poison, <2 x i32> zeroinitializer
9+
; CHECK-NEXT:%shuffle = shufflevector <1 x float> %[[LD]], <1 x float> poison, <2 x i32> zeroinitializer
1010
; CHECK-NEXT:ret <2 x float> %shuffle
1111

1212
@a = external local_unnamed_addr constant float

0 commit comments

Comments
 (0)