[PATCH] D58469: [GlobalISel][AArch64] Add selection support for G_EXTRACT_VECTOR_ELT with FPR dest

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 11:19:35 PST 2019


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

LGTM with small change.



================
Comment at: lib/Target/AArch64/AArch64InstructionSelector.cpp:1890
+  if (WideTy.getSizeInBits() != 128) {
+    unsigned ImpDefReg = MRI.createVirtualRegister(&AArch64::FPR128RegClass);
+    MachineInstr &ImpDefMI =
----------------
We should be able to replace this with emitScalarToVector().


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

https://reviews.llvm.org/D58469





More information about the llvm-commits mailing list