Skip to content

Commit a3a39b8

Browse files
author
Greg Roth
committed
another constant case I caught just in case
1 parent c2ee61b commit a3a39b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/clang/test/CodeGenDXIL/passes/longvec-operators-vec1-scalarizer.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ define void @"\01?arithmetic@@YA$$BY0L@V?$vector@M$00@@Y0L@$$CAV1@@Z"([11 x <1 x
113113
bb:
114114
; CHECK: [[adr0:%.*]] = getelementptr inbounds [11 x <1 x float>], [11 x <1 x float>]* %things, i32 0, i32 0
115115
; CHECK: [[ld0:%.*]] = load <1 x float>, <1 x float>* [[adr0]], align 4
116-
; CHECK: [[zero:%.*]] = extractelement <1 x float> <float -0.000000e+00>, i32 0
117-
; CHECK: [[val0:%.*]] = extractelement <1 x float> [[ld0]], i32 0
116+
; CHECK-DAG: [[zero:%.*]] = extractelement <1 x float> <float -0.000000e+00>, i32 0
117+
; CHECK-DAG: [[val0:%.*]] = extractelement <1 x float> [[ld0]], i32 0
118118
; CHECK: [[sub0:%.*]] = fsub fast float [[zero]], [[val0]]
119119
; CHECK: [[res0:%.*]] = insertelement <1 x float> undef, float [[sub0]], i32 0
120120
%tmp = getelementptr inbounds [11 x <1 x float>], [11 x <1 x float>]* %things, i32 0, i32 0

0 commit comments

Comments
 (0)