[PATCH] D43444: [AArch64][GlobalISel] When copying from a gpr32 to an fpr16 reg, convert to fpr32 first

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 10:50:41 PST 2018


qcolombet added inline comments.


================
Comment at: lib/Target/AArch64/AArch64InstructionSelector.cpp:330
+      .addDef(SubRegCopy)
+      .addUse(CopyReg, 0, AArch64::hsub);
+
----------------
At this point of the pipeline we usually don't write copy from subregs directly.
Could you use EXTRACT_SUBREG instead?


Repository:
  rL LLVM

https://reviews.llvm.org/D43444





More information about the llvm-commits mailing list