[PATCH] D60048: [InstCombine] eliminate commuted select-shuffles + binop (PR41304)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 31 10:36:06 PDT 2019


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:1429
+    // TODO: Allow arbitrary shuffles by shuffling after binop?
+    //       That might be legal, but we have to be deal with poison.
+    if (LShuf->isSelect() && !LShuf->getMask()->containsUndefElement() &&
----------------
typo?


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

https://reviews.llvm.org/D60048





More information about the llvm-commits mailing list