[all-commits] [llvm/llvm-project] a0ce23: [InstCombine] reassociate fsub+fadd with FMF to in...

RotateRight via All-commits all-commits at lists.llvm.org
Tue May 26 10:17:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0ce2338a0838ccb04e10bd4f8e9ec9d7136e1d2
      https://github.com/llvm/llvm-project/commit/a0ce2338a0838ccb04e10bd4f8e9ec9d7136e1d2
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/fsub.ll

  Log Message:
  -----------
  [InstCombine] reassociate fsub+fadd with FMF to increase adds and throughput

The -reassociate pass tends to transform this kind of pattern into
something that is worse for vectorization and codegen. See PR43953:
https://bugs.llvm.org/show_bug.cgi?id=43953




More information about the All-commits mailing list