[PATCH] D110890: [GlobalISel] Port the udiv -> mul by constant combine.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 10:35:51 PDT 2021


aemerson added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:4420
+  LLT ScalarShiftAmtTy = ShiftAmtTy.getScalarType();
+  auto &MIB = Builder;
+  MIB.setInstrAndDebugLoc(MI);
----------------
foad wrote:
> What's this for?
This is just to shorten the code later.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110890



More information about the llvm-commits mailing list