diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2021-03-02 11:21:54 +0100 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2021-03-02 11:24:07 +0100 |
commit | 10c256ccaf520eed766f594f897b5bafdc8061ae (patch) | |
tree | f5ca8066893b26c37335596cca786455e3745ab6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 28f164bca724d52ed35f1ad9dd33f39d94c0b3c8 (diff) | |
download | llvm-10c256ccaf520eed766f594f897b5bafdc8061ae.zip llvm-10c256ccaf520eed766f594f897b5bafdc8061ae.tar.gz llvm-10c256ccaf520eed766f594f897b5bafdc8061ae.tar.bz2 |
Revert "[X86] Fold shuffle(not(x),undef) -> not(shuffle(x,undef))"
This reverts commit 925093d88ae74560a8e94cf66f95d60ea3ffa2d3.
Causes an infinite loop when compiling some shuffles:
$ cat bugpoint-reduced-simplified.ll
target triple = "x86_64-unknown-linux-gnu"
define void @foo() {
entry:
%0 = load i8, i8* undef, align 1
%broadcast.splatinsert = insertelement <16 x i8> poison, i8 %0, i32 0
%1 = icmp ne <16 x i8> %broadcast.splatinsert, zeroinitializer
%2 = shufflevector <16 x i1> %1, <16 x i1> undef, <16 x i32> zeroinitializer
%wide.load = load <16 x i8>, <16 x i8>* undef, align 1
%3 = icmp ne <16 x i8> %wide.load, zeroinitializer
%4 = and <16 x i1> %3, %2
%5 = zext <16 x i1> %4 to <16 x i8>
store <16 x i8> %5, <16 x i8>* undef, align 1
ret void
}
$ llc < bugpoint-reduced-simplified.ll
<timeout>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions