diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2023-12-18 12:11:55 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-12-18 12:35:52 -0800 |
commit | a7e10e66030099447919c3f61dbd3a3a41ba66f3 (patch) | |
tree | 81fdaf82b167c93c29289fe76dd87c60eda9707d | |
parent | 2a03854e4ce9bb1bcd79a211063bc63c4657f92c (diff) | |
download | llvm-a7e10e66030099447919c3f61dbd3a3a41ba66f3.zip llvm-a7e10e66030099447919c3f61dbd3a3a41ba66f3.tar.gz llvm-a7e10e66030099447919c3f61dbd3a3a41ba66f3.tar.bz2 |
Revert "[SLP][NFC]Check for equal opcode preliminary to meet weak strict order"
This reverts commit 58a2c4e2f24ffce3966c3988d1a4ca7b04c52244 to fix the
issue detected by https://lab.llvm.org/buildbot/#/builders/233/builds/5424.
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 8c3ed08..9d79912 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -15777,8 +15777,6 @@ static bool compareCmp(Value *V, Value *V2, TargetLibraryInfo &TLI, if (NodeI1 != NodeI2) return NodeI1->getDFSNumIn() < NodeI2->getDFSNumIn(); } - if (I1->getOpcode() == I2->getOpcode()) - continue; InstructionsState S = getSameOpcode({I1, I2}, TLI); if (S.getOpcode() && (IsCompatibility || !S.isAltShuffle())) continue; |