[PATCH] D120553: [DAG] SelectionDAG::isSplatValue - add initial BITCAST handling

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 17:26:59 PST 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:2654
+    if ((BitWidth % SrcBitWidth) == 0) {
+      // See if each sub element are a splat.
+      unsigned Scale = BitWidth / SrcBitWidth;
----------------
"are a" -> "is a "


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120553



More information about the llvm-commits mailing list