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

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 10:19:07 PDT 2020


cameron.mcinally added inline comments.
Herald added a reviewer: ctetreau.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:230
+                         Oper, DAG.getVectorIdxConstant(0, dl));
+    }
 
----------------
Should we copy the workaround comment from `ScalarizeVecRes_UnaryOp(...)` to this change? The workaround is pretty confusing to me, but I'm not an expert here.


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