[PATCH] D64710: [x86] try to keep FP casted+truncated+extracted vector element out of GPRs

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 14 13:56:39 PDT 2019


RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:42410
+/// the sequence on XMM registers rather than moving between vector and GPRs.
+static SDValue combineToFPTruncExtElt(SDNode *N, SelectionDAG &DAG) {
+  // TODO: This is currently only used by combineSIntToFP, but it is generalized
----------------
Could this be folded into vectorizeExtractedCast (which is done at lowering)?


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

https://reviews.llvm.org/D64710





More information about the llvm-commits mailing list