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