[PATCH] D86431: [SVE][CodeGen] Fix up warnings in sve-split-insert/extract tests

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 12:31:43 PDT 2020


efriedma accepted this revision.
efriedma added a comment.

LGTM with one minor comment



================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:2032
     // Demand the bits from every vector element without a constant index.
+    unsigned NumSrcElts = SrcEltCnt.getKnownMinValue();
     APInt DemandedSrcElts = APInt::getAllOnesValue(NumSrcElts);
----------------
getFixedValue().


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

https://reviews.llvm.org/D86431



More information about the llvm-commits mailing list