[all-commits] [llvm/llvm-project] e425d0: [InstCombine][X86] Add basic addsub intrinsic Simp...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Nov 30 10:40:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e425d0b92a1df69e5e41e6b23801fabeaaef7937
      https://github.com/llvm/llvm-project/commit/e425d0b92a1df69e5e41e6b23801fabeaaef7937
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-addsub.ll

  Log Message:
  -----------
  [InstCombine][X86] Add basic addsub intrinsic SimplifyDemandedVectorElts support (PR46277)

Pass through the demanded elts mask to the source operands.

The next step will be to add support for folding to add/sub if we only demand odd/even elements.




More information about the All-commits mailing list