[PATCH] D147373: [InstCombine] fold double reverses

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 1 19:02:04 PDT 2023


junaire added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp:2724
+  Instruction *Arith;
+  if (!match(SVI.getOperand(0), m_OneUse(m_Instruction(Arith))))
+    return nullptr;
----------------
FWIW, we have `m_ICmp`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147373/new/

https://reviews.llvm.org/D147373



More information about the llvm-commits mailing list