[PATCH] D98208: [SelectionDAG] Don't scalarize vector fpround sources that don't need it.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 12:01:44 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:328
+  } else {
+    SDLoc DL(N);
+    EVT VT = OpVT.getVectorElementType();
----------------
Move the SDLoc to the top and use for the FP_ROUND too?


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

https://reviews.llvm.org/D98208



More information about the llvm-commits mailing list