[all-commits] [llvm/llvm-project] a5f563: [DAG] narrowExtractedVectorLoad - EXTRACT_SUBVECTO...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 22 10:32:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f56342b01765e33abbae97e087f93041a39353
      https://github.com/llvm/llvm-project/commit/a5f56342b01765e33abbae97e087f93041a39353
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] narrowExtractedVectorLoad - EXTRACT_SUBVECTOR indices are always constant

EXTRACT_SUBVECTOR indices are always constant, we don't need to check for ConstantSDNode, we should just use getConstantOperandVal which will assert for the constant.




More information about the All-commits mailing list