[PATCH] D69149: [GISel][CombinerHelper] Add a combine turning shuffle_vector into concat_vectors

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 16:31:01 PDT 2019


arsenm added inline comments.


================
Comment at: lib/CodeGen/GlobalISel/CombinerHelper.cpp:190
+  LLT DstType = MRI.getType(MI.getOperand(0).getReg());
+  unsigned Src1 = MI.getOperand(1).getReg();
+  LLT SrcType = MRI.getType(Src1);
----------------
s/unsigned/Register/


================
Comment at: lib/CodeGen/GlobalISel/CombinerHelper.cpp:235
+  Register UndefReg;
+  unsigned Src2 = MI.getOperand(2).getReg();
+  for (auto Src : ConcatSrcs) {
----------------
s/unsigned/Register


Repository:
  rL LLVM

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

https://reviews.llvm.org/D69149





More information about the llvm-commits mailing list