[all-commits] [llvm/llvm-project] 75f134: [X86] Refactor the broadcast and load folding in t...

topperc via All-commits all-commits at lists.llvm.org
Fri Jul 31 23:57:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f134eec1ca30a4080e38d6d364ed932c0322ab
      https://github.com/llvm/llvm-project/commit/75f134eec1ca30a4080e38d6d364ed932c0322ab
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

  Log Message:
  -----------
  [X86] Refactor the broadcast and load folding in tryVPTESTM to reduce some code.

Now we try to load and broadcast together for operand 1. Followed
by load and broadcast for operand 1. Previously we tried load
operand 1, load operand 1, broadcast operand 0, broadcast operand 1.

Now we have a single helper that tries load and broadcast for
one operand that we can just call twice.




More information about the All-commits mailing list