Martin Storsjö
5b5c21d772
Revert "[SLP]Improve minbitwidth analysis."
This reverts commit 2bd369b48dbf0bc3128becb7ef8f8a1b82514b87.
That commit triggered failed assertions:
$ cat repro.c
short *a;
int b;
void h() {
short *c = a;
b = 0;
for (; b < 4; b++) {
unsigned d = a[b] + a[b + 4 * 2], e = a[b] - a[b + 4 * 2],
f = (a[b + 4] >> 1) - a[b + 4 * 3],
g = a[b + 4] + (a[b + 4 * 3] >> 1);
c[b] = g;
c[b + 4] = e + f;
c[b + 4 * 2] = e - f;
c[b + 4 * 3] = d - g;
}
}
$ clang -target aarch64-linux-gnu -c -O2 repro.c
clang: ../lib/Transforms/Vectorize/SLPVectorizer.cpp:12503: llvm::Value* llvm::slpvectorizer::BoUpSLP::vectorizeTree(llvm::slpvectorizer::BoUpSLP::TreeEntry*, bool): Assertion `(MinBWs.contains(getOperandEntry(E, 0)) || MinBWs.contains(getOperandEntry(E, 1))) && "Expected item in MinBWs."' failed.
2024-03-09 13:53:13 +02:00
..
2023-10-27 14:38:28 +01:00
2024-01-04 10:08:21 +01:00
2024-03-04 11:33:30 +00:00
2024-01-16 15:50:09 +00:00
2024-03-05 15:12:22 +00:00
2024-03-09 13:53:13 +02:00
2024-02-19 11:32:23 +00:00
2023-04-17 13:54:19 +02:00
2024-03-03 21:48:58 +00:00
2024-03-06 20:14:25 +00:00
2024-02-21 19:37:15 +00:00
2024-02-21 19:37:15 +00:00
2023-04-24 16:10:46 +01:00
2023-01-23 14:00:43 +00:00
2024-02-20 16:43:57 +00:00
2024-02-20 16:43:57 +00:00
2024-03-03 21:48:58 +00:00
2024-03-06 15:59:35 -05:00
2024-02-18 18:50:01 +00:00
2024-03-04 13:49:35 -08:00
2024-02-17 13:45:23 +00:00
2024-02-26 19:06:43 +00:00
2024-03-04 16:29:19 +00:00
2024-02-20 16:43:57 +00:00
2024-01-29 09:52:05 +00:00