Florian Hahn
5f096fd221
Revert "[LoopVectorizer] Add support for partial reductions (#92418)"
This reverts commit 060d62b48aeb5080ffcae1dc56e41a06c6f56701.
It looks like this is triggering an assertion when build llvm-test-suite
on ARM64 macOS.
Reproducer from MultiSource/Benchmarks/Ptrdist/bc/number.c
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
define void @test(i64 %idx.neg, i8 %0) #0 {
entry:
br label %while.body
while.body: ; preds = %while.body, %entry
%n1ptr.0.idx131 = phi i64 [ %n1ptr.0.add, %while.body ], [ %idx.neg, %entry ]
%n2ptr.0.idx130 = phi i64 [ %n2ptr.0.add, %while.body ], [ 0, %entry ]
%sum.1129 = phi i64 [ %add99, %while.body ], [ 0, %entry ]
%n1ptr.0.add = add i64 %n1ptr.0.idx131, 1
%conv = sext i8 %0 to i64
%n2ptr.0.add = add i64 %n2ptr.0.idx130, 1
%1 = load i8, ptr null, align 1
%conv97 = sext i8 %1 to i64
%mul = mul i64 %conv97, %conv
%add99 = add i64 %mul, %sum.1129
%cmp94 = icmp ugt i64 %n1ptr.0.idx131, 0
%cmp95 = icmp ne i64 %n2ptr.0.idx130, -1
%2 = and i1 %cmp94, %cmp95
br i1 %2, label %while.body, label %while.end.loopexit
while.end.loopexit: ; preds = %while.body
%add99.lcssa = phi i64 [ %add99, %while.body ]
ret void
}
attributes #0 = { "target-cpu"="apple-m1" }
> opt -p loop-vectorize
Assertion failed: ((VF.isScalar() || V->getType()->isVectorTy()) && "scalar values must be stored as (0, 0)"), function set, file VPlan.h, line 284.
2024-12-19 21:46:51 +00:00
..
2024-11-19 08:55:39 +00:00
2024-09-21 19:47:37 +01:00
2024-10-30 13:50:02 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-12-16 11:55:48 +08:00
2024-12-17 20:44:32 +00:00
2024-06-27 12:25:59 +01:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-21 11:21:12 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-12-07 12:05:17 +00:00
2024-11-06 11:53:33 +00:00
2024-11-21 11:21:12 +00:00
2024-09-22 22:08:46 +01:00
2024-12-17 20:44:32 +00:00
2024-12-19 21:46:51 +00:00
2024-11-21 11:21:12 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-09-11 21:04:34 +01:00
2024-10-08 12:08:13 +01:00
2024-09-11 21:04:34 +01:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-21 21:11:21 +00:00
2024-09-21 12:54:59 +01:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-21 11:21:12 +00:00
2024-11-19 08:55:39 +00:00
2024-11-19 08:55:39 +00:00
2024-09-02 21:25:31 +01:00
2024-11-20 09:33:39 +00:00
2024-11-19 08:55:39 +00:00
2024-12-16 11:55:48 +08:00
2024-11-06 11:53:33 +00:00
2024-12-17 20:44:32 +00:00
2024-07-20 13:21:32 +01:00
2024-07-17 10:46:28 +01:00
2024-11-29 17:41:05 +00:00
2024-07-27 12:52:12 +01:00
2024-12-16 11:55:48 +08:00
2024-11-21 11:21:12 +00:00
2024-12-17 13:48:50 +01:00
2024-11-21 11:21:12 +00:00
2024-09-22 22:08:46 +01:00
2024-11-21 11:21:12 +00:00
2024-11-29 17:41:05 +00:00
2024-10-18 11:05:55 +01:00
2024-11-29 17:41:05 +00:00
2024-11-28 15:07:36 +08:00
2024-12-18 09:37:30 +00:00
2024-06-24 11:06:16 +01:00
2024-12-17 20:44:32 +00:00
2024-11-06 11:53:33 +00:00
2024-08-05 11:25:44 +01:00
2024-11-06 11:53:33 +00:00
2024-12-17 20:44:32 +00:00
2024-12-05 14:36:40 +01:00
2024-09-27 13:08:55 +01:00
2024-12-17 20:44:32 +00:00
2024-12-12 15:58:16 +00:00
2024-12-18 19:06:34 +01:00
2024-11-21 11:21:12 +00:00
2024-12-05 14:36:40 +01:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-20 09:33:39 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-05 22:45:56 +01:00
2024-12-05 14:36:40 +01:00
2024-11-06 11:53:33 +00:00
2024-12-16 11:55:48 +08:00
2024-09-10 10:41:35 +01:00
2024-12-18 19:06:34 +01:00
2024-12-05 14:36:40 +01:00
2024-09-20 11:22:03 +01:00
2024-06-25 15:51:32 +01:00
2024-11-21 11:21:12 +00:00
2024-10-10 20:04:46 +01:00
2024-11-21 11:21:12 +00:00
2024-12-17 20:44:32 +00:00
2024-12-17 20:44:32 +00:00
2024-11-21 11:21:12 +00:00
2024-11-29 17:41:05 +00:00
2024-12-12 15:58:16 +00:00
2024-09-03 09:16:37 -07:00
2024-11-21 11:21:12 +00:00
2024-11-21 11:21:12 +00:00
2024-11-21 11:21:12 +00:00
2024-11-21 11:21:12 +00:00
2024-12-16 11:55:48 +08:00
2024-04-29 10:16:45 +01:00
2024-12-17 20:44:32 +00:00
2024-09-20 15:34:00 +01:00
2024-12-15 18:52:10 +00:00
2024-12-05 15:20:56 +01:00
2024-12-12 15:58:16 +00:00
2024-11-06 11:53:33 +00:00
2024-11-21 11:21:12 +00:00
2024-11-06 11:53:33 +00:00
2024-11-29 17:41:05 +00:00
2024-12-05 14:36:40 +01:00
2024-10-24 17:53:12 -07:00
2024-11-29 17:41:05 +00:00
2024-10-24 17:53:12 -07:00
2024-09-23 16:05:55 +01:00
2024-11-06 11:53:33 +00:00
2024-12-12 15:58:16 +00:00
2024-11-21 11:21:12 +00:00