[all-commits] [llvm/llvm-project] 866311: [X86] lowerToAddSubOrFMAddSub - lower 512-bit ADDS...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 20 07:19:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 866311e71c8f1f3724754d006eb50299424d5b1b
      https://github.com/llvm/llvm-project/commit/866311e71c8f1f3724754d006eb50299424d5b1b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/sse3-avx-addsub-2.ll

  Log Message:
  -----------
  [X86] lowerToAddSubOrFMAddSub - lower 512-bit ADDSUB patterns to blend(fsub,fadd)

AVX512 doesn't provide a ADDSUB instruction, but if we've built this from a build vector of scalar fsub/fadd elements we can still lower to blend(fsub,fadd)




More information about the All-commits mailing list