[PATCH] D77033: [Legalizer] Workaround for scalarizing unary strict-fp ops

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 10:16:32 PDT 2020


cameron.mcinally added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:229
+                         DAG.getVectorIdxConstant(0, dl));
+    }
+    Opers[1] = Oper;
----------------
Can this if-else be rolled into the generic loop below? Or is there a reason that's not ok?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77033





More information about the llvm-commits mailing list