diff options
author | Sterling Augustine <saugustine@google.com> | 2021-02-16 12:37:19 -0800 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2021-02-16 12:48:15 -0800 |
commit | 5aa8f4c0843a68a24cb37dce5c0248c849d7d476 (patch) | |
tree | a1e8080484ce0b97dda3f828b8d7b600a9f52b9c /llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp | |
parent | 8eda10ca09c25f631d41f040137c89145bdcbc1a (diff) | |
download | llvm-5aa8f4c0843a68a24cb37dce5c0248c849d7d476.zip llvm-5aa8f4c0843a68a24cb37dce5c0248c849d7d476.tar.gz llvm-5aa8f4c0843a68a24cb37dce5c0248c849d7d476.tar.bz2 |
Revert "[DAG] Fold shuffle(bop(shuffle(x,y),shuffle(z,w)),bop(shuffle(a,b),shuffle(c,d)))"
This reverts commit 5dfba562dd247f731528448ee83785b099f93629.
That commit causes an assertion failure with the following repro:
typedef long b __attribute__((__vector_size__(16)));
b *d;
b e;
b __attribute__((__always_inline__)) c(b h, b i) {
return (__attribute__((__vector_size__(8 * sizeof(short)))) short)h + i;
}
j() {
b k, l, m, n, o[6], p, q;
m = d[5];
b r = m;
b s = f(r, 8);
q = s;
l = d[1];
p = l;
t(q);
n = c(m, l);
o[1] = c(s, f(p, 8));
k = __builtin_shufflevector(n, o[1], 0, 2);
e = __builtin_ia32_psrlwi128(k, j);
}
./bin/clang -cc1 -triple x86_64-grtev4-linux-gnu -emit-obj -O1 -std=c99 test.c
Diffstat (limited to 'llvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp')
0 files changed, 0 insertions, 0 deletions