[all-commits] [llvm/llvm-project] 7bb9a2: [InstSimplify] fix miscompiles with maximum/minimu...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Sep 14 06:10:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bb9a2f996a33fde689fc0b7603fce0115fb92b4
      https://github.com/llvm/llvm-project/commit/7bb9a2f996a33fde689fc0b7603fce0115fb92b4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-09-14 (Mon, 14 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll

  Log Message:
  -----------
  [InstSimplify] fix miscompiles with maximum/minimum intrinsics

As discussed in the sibling codegen functionality patch D87571,
this transform was created with D52766, but it is not correct.

The incorrect test diffs were missed during review, but the
'TODO' comment about this functionality was still in the code -
we need 'nnan' to enable this fold.




More information about the All-commits mailing list