[all-commits] [llvm/llvm-project] 09b1c5: [LoopUtils] do not initialize Cmp predicate unnece...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Jan 26 08:24:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09b1c56366b5a81d43013e7d5e739020f866c97f
      https://github.com/llvm/llvm-project/commit/09b1c56366b5a81d43013e7d5e739020f866c97f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [LoopUtils] do not initialize Cmp predicate unnecessarily; NFC

The switch must set the predicate correctly; anything else
should lead to unreachable/assert.

I'm trying to fix FMF propagation here and the callers,
so this is a preliminary cleanup.


  Commit: 00773ef78aaa8c790cd12dcff4e30f8835ef944f
      https://github.com/llvm/llvm-project/commit/00773ef78aaa8c790cd12dcff4e30f8835ef944f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll

  Log Message:
  -----------
  [LoopVectorize] add test for fmin/fmax FMF propagation; NFC

The existing test has less FMF than we might expect if
our FMF was fixed (on all FP values), so this additional
test is intended to check propagation in a more "normal"
example.


Compare: https://github.com/llvm/llvm-project/compare/879c12d95a27...00773ef78aaa


More information about the All-commits mailing list