[all-commits] [llvm/llvm-project] 772a50: [X86] canonicalizeShuffleWithBinOps - shuffle oneu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Mar 7 03:17:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 772a501bf41fd15294192b9522c4567a9fc25834
      https://github.com/llvm/llvm-project/commit/772a501bf41fd15294192b9522c4567a9fc25834
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-07 (Sun, 07 Mar 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/promote-cmp.ll

  Log Message:
  -----------
  [X86] canonicalizeShuffleWithBinOps - shuffle oneuse constants.

We can freely shuffle all ones/zeros constants but we can also freely shuffle other constants as long as they only have one use.




More information about the All-commits mailing list