[all-commits] [llvm/llvm-project] f61115: [SelectionDAG] Better ISD::ANY_EXTEND/ISD::ANY_EXT...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jan 17 03:38:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f61115835085fb8a563091f9bbc1c2e7fc5425c2
      https://github.com/llvm/llvm-project/commit/f61115835085fb8a563091f9bbc1c2e7fc5425c2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

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

  Log Message:
  -----------
  [SelectionDAG] Better ISD::ANY_EXTEND/ISD::ANY_EXTEND_VECTOR_INREG ComputeKnownBits support

Add DemandedElts handling to ISD::ANY_EXTEND and add missing ISD::ANY_EXTEND_VECTOR_INREG handling. Despite the lack of test changes this code IS being used - its just that the ANY_EXTEND ops are legalized later on (typically to ZERO_EXTEND equivalents) so we typically manage to combine later on.




More information about the All-commits mailing list