[all-commits] [llvm/llvm-project] 8c3262: [ConstantFolding] update test checks FP min/max in...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jul 29 06:43:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c3262a7b48017b5f5c8aef5b83b4cd1f3dcc324
      https://github.com/llvm/llvm-project/commit/8c3262a7b48017b5f5c8aef5b83b4cd1f3dcc324
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/test/Analysis/ConstantFolding/min-max.ll

  Log Message:
  -----------
  [ConstantFolding] update test checks FP min/max intrinsics

There's a slight difference in functionality with the new CHECK lines:
before, we allowed either -0.0 or 0.0 for maxnum/minnum. That matches
the definition, but we should always get a deterministic result from
constant folding within the compiler, so now we assert that we got
the single expected result in all cases.




More information about the All-commits mailing list