You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ComplexDeinterleave] Don't try to combine single FP reductions. (#139469)
Currently the apss tries to combine floating point reductions, without
checking for the correct fast-math flags and it also creates invalid IR
(using llvm.reduce.add for FP types).
For now, just bail out for non-integer types.
PR: #139469
; Ensure that a second reduction-like pattern doesn't override the first
8
-
; We don't care what this IR produces, just that it produces something and doesn't cause a crash
7
+
; Ensure that a second reduction-like pattern doesn't override the first.
9
8
definevoid@reprocessing_crash() #0 {
10
-
; CHECK-LABEL: define void @reprocessing_crash
9
+
; CHECK-LABEL: define void @reprocessing_crash(
10
+
; CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
11
+
; CHECK-NEXT: [[ENTRY:.*]]:
12
+
; CHECK-NEXT: [[TMP0:%.*]] = call <vscale x 4 x double> @llvm.vector.interleave2.nxv4f64(<vscale x 2 x double> zeroinitializer, <vscale x 2 x double> zeroinitializer)
13
+
; CHECK-NEXT: br label %[[VECTOR_BODY:.*]]
14
+
; CHECK: [[VECTOR_BODY]]:
15
+
; CHECK-NEXT: [[TMP1:%.*]] = phi <vscale x 4 x double> [ [[TMP0]], %[[ENTRY]] ], [ [[TMP2:%.*]], %[[VECTOR_BODY]] ]
16
+
; CHECK-NEXT: [[TMP2]] = fsub <vscale x 4 x double> [[TMP1]], zeroinitializer
0 commit comments