[PATCH] D49806: [FPEnv] Widen illegal width StrictFP vector operations as needed

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 09:58:07 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:2716
+      // Vector type, create a CONCAT_VECTORS of type NextVT
+      SDValue undefVec = DAG.getUNDEF(VT);
+      unsigned OpsToConcat = NextSize/VT.getVectorNumElements();
----------------
Is widening with undef safe for a strict instruction?


Repository:
  rL LLVM

https://reviews.llvm.org/D49806





More information about the llvm-commits mailing list