[all-commits] [llvm/llvm-project] c96001: [X86] isNegatibleForFree - allow pre-legalized FMA...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 7 09:04:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c96001035d4b7ac1b4b84705c7035d6c0fa28ffa
      https://github.com/llvm/llvm-project/commit/c96001035d4b7ac1b4b84705c7035d6c0fa28ffa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fma-fneg-combine-2.ll
    M llvm/test/CodeGen/X86/fma_patterns.ll
    M llvm/test/CodeGen/X86/fma_patterns_wide.ll
    M llvm/test/CodeGen/X86/recip-fastmath.ll
    M llvm/test/CodeGen/X86/recip-fastmath2.ll

  Log Message:
  -----------
  [X86] isNegatibleForFree - allow pre-legalized FMA negation

As long as the FMA operation is legal (which we can proxy for the FMA3/FMA4 variants as well), we don't have to wait for the LegalOperations stage.




More information about the All-commits mailing list