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-06-25 12:36:40 -07:00
2024-12-09 16:19:35 +01:00
2024-06-28 08:36:49 +02:00
2024-11-05 19:11:34 -08:00
2024-12-18 09:02:28 -07:00
2023-11-21 14:34:02 +01:00
2024-10-12 08:04:38 -07:00
2024-12-13 12:58:59 +01:00
2024-05-07 10:20:10 -07:00
2024-02-27 14:13:00 -05:00
2024-11-05 19:11:34 -08:00
2024-06-25 06:57:30 -07:00
2024-09-20 12:19:59 -05:00
2024-06-28 14:30:47 +02:00
2024-06-27 16:38:15 +02:00
2024-05-21 09:48:03 -07:00
2024-11-05 12:58:48 +00:00
2024-11-05 19:11:34 -08:00
2024-12-19 10:56:02 +01:00
2024-10-04 10:17:23 +02:00
2024-06-06 13:13:46 +05:30
2024-12-19 11:54:26 -08:00
2024-06-25 06:57:30 -07:00
2024-11-05 19:11:34 -08:00
2024-09-27 08:09:10 -07:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-08-14 08:23:04 -07:00
2024-06-28 08:08:19 -07:00
2024-03-04 16:53:27 -06:00
2024-12-13 11:43:09 +08:00
2024-09-23 19:00:20 -04:00
2024-12-19 12:17:21 -07:00
2024-09-05 12:34:47 -07:00
2024-04-19 10:01:42 -07:00
2023-09-20 11:27:54 +02:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-11-18 10:24:09 -08:00
2024-12-04 21:27:02 +00:00
2024-11-18 10:24:09 -08:00
2024-07-01 17:47:13 -07:00
2024-11-05 19:11:34 -08:00
2024-12-19 22:52:55 +08:00
2024-09-13 07:53:23 -07:00
2024-12-13 14:18:33 +00:00
2024-08-03 20:10:01 +01:00
2024-11-07 07:52:14 +08:00
2024-10-24 08:07:13 +03:00
2024-12-09 12:56:19 +08:00
2024-09-25 19:18:17 -04:00
2024-11-05 19:11:34 -08:00
2024-06-04 10:00:26 +02:00
2024-12-10 13:05:34 +01:00
2024-06-21 23:50:53 +03:30
2024-11-14 08:40:45 +00:00
2024-06-28 14:30:47 +02:00
2024-06-28 14:30:47 +02:00
2024-08-28 12:15:12 +02:00
2024-11-05 19:11:34 -08:00
2024-12-10 06:28:03 +00:00
2024-11-21 09:25:10 -08:00
2024-11-05 19:11:34 -08:00
2024-12-17 12:50:49 -08:00
2024-08-13 22:38:50 +08:00
2024-12-09 12:21:49 +01:00
2024-09-05 12:34:47 -07:00
2024-11-05 19:11:34 -08:00
2024-11-15 08:24:44 -08:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-12-13 14:18:33 +00:00
2024-06-25 06:57:30 -07:00
2023-09-30 18:51:28 -07:00
2024-08-30 11:47:34 -07:00
2024-08-14 17:57:47 +02:00
2023-10-22 12:15:46 -07:00
2024-09-30 06:49:50 -07:00
2024-12-18 11:22:39 +00:00
2024-05-30 10:50:32 +08:00
2024-06-21 23:50:53 +03:30
2023-07-05 18:11:44 +01:00
2023-07-28 12:13:35 -07:00
2024-06-28 08:36:49 +02:00
2024-10-29 09:26:47 -07:00
2024-10-26 20:02:05 -07:00
2024-12-12 15:45:44 +13:00
2024-12-19 21:46:51 +00:00
2023-10-11 08:04:04 -07:00
2023-11-16 12:50:46 -08:00
2024-12-17 13:57:34 +00:00
2024-08-13 11:56:02 +02:00
2024-11-05 19:11:34 -08:00
2024-08-28 15:18:31 +02:00
2024-12-18 09:02:11 +08:00
2024-12-19 11:54:26 -08:00