[all-commits] [llvm/llvm-project] 39e1e5: [SLP] add reduction test with mixed fast-math-flag...

RotateRight via All-commits all-commits at lists.llvm.org
Sat Jan 23 08:32:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39e1e53a7c162652c6c138d1bcf50d2766fe9561
      https://github.com/llvm/llvm-project/commit/39e1e53a7c162652c6c138d1bcf50d2766fe9561
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal.ll

  Log Message:
  -----------
  [SLP] add reduction test with mixed fast-math-flags; NFC


  Commit: a6f02212764a76935ec5fb704fe86a1a76f65745
      https://github.com/llvm/llvm-project/commit/a6f02212764a76935ec5fb704fe86a1a76f65745
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal.ll

  Log Message:
  -----------
  [SLP] fix fast-math-flag propagation on FP reductions

As shown in the test diffs, we could miscompile by
propagating flags that did not exist in the original
code.

The flags required for fmin/fmax reductions will be
fixed in a follow-up patch.


Compare: https://github.com/llvm/llvm-project/compare/292077072ec1...a6f02212764a


More information about the All-commits mailing list