[all-commits] [llvm/llvm-project] 2778f9: [DAG] SimplifyDemandedVectorElts - attempt to hand...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 26 02:35:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2778f9a9f6d8a0f62854906fa203843e20e26d7d
      https://github.com/llvm/llvm-project/commit/2778f9a9f6d8a0f62854906fa203843e20e26d7d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/ARM/crash-on-pow2-shufflevector.ll
    M llvm/test/CodeGen/X86/rotate_vec.ll

  Log Message:
  -----------
  [DAG] SimplifyDemandedVectorElts - attempt to handle ADD(x,x) as single use

If the ADD node is the only user of the repeated operand, then treat this as single use - allows us to peek through shl(x,1) patterns.




More information about the All-commits mailing list