[PATCH] D58078: GlobalISel: Implement widenScalar for g_extract scalar results

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 18 13:59:38 PST 2019


aemerson accepted this revision.
aemerson added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:474
+  auto Extract = buildInstr(TargetOpcode::G_EXTRACT);
+  Dst.addDefToMIB(*getMRI(), Extract);
+  Src.addSrcToMIB(Extract);
----------------
Out of curiosity, why does this need changing?


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

https://reviews.llvm.org/D58078





More information about the llvm-commits mailing list