diff options
author | Martin Storsjö <martin@martin.st> | 2025-03-25 10:22:44 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2025-03-25 10:22:44 +0200 |
commit | b33bec9b2148397818f0634b31fd45e9446faccd (patch) | |
tree | fe71db592a11a0842a486f9ad708fc1acb93151d /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | |
parent | dd059338a2ebdc68e964bbf4ea62f99f13329e30 (diff) | |
download | llvm-b33bec9b2148397818f0634b31fd45e9446faccd.zip llvm-b33bec9b2148397818f0634b31fd45e9446faccd.tar.gz llvm-b33bec9b2148397818f0634b31fd45e9446faccd.tar.bz2 |
Revert "[SLP] Make getSameOpcode support interchangeable instructions. (#127450)"
This reverts commit 71a0cfd93263552ddc0bfd2ea7b0abe9a578f87e.
This commit triggers failed asserts when compiling ffmpeg. The
issue is reproducible with a small standalone reproducer like this:
void make_filters_from_proto(int *filter[][2], int bands) {
int c, q, n;
for (;; q++) {
n = 0;
for (; n < 7; n++) {
int theta = (q * (n - 6) + (n >> 1) - 3) % bands;
if (theta)
c = theta;
filter[q][n][0] = c;
}
}
}
$ clang -target x86_64-linux-gnu -c repro.c -O3
clang: ../lib/Transforms/Vectorize/SLPVectorizer.cpp:989: llvm::SmallVector<llvm
::Value*> {anonymous}::BinOpSameOpcodeHelper::InterchangeableInfo::getOperand(ll
vm::Instruction*) const: Assertion `FromCIValue.isZero() && "Cannot convert the
instruction."' failed.
The same issue also reproduces for a large number of other target
triples, aarch64-linux-gnu and others.
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions