[all-commits] [llvm/llvm-project] d9b103: [FPEnv][InstSimplify] Correct strictfp tests.

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Wed Aug 2 10:07:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9b1036bc469ef7f65e43ac240be6db47759dbb2
      https://github.com/llvm/llvm-project/commit/d9b1036bc469ef7f65e43ac240be6db47759dbb2
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/X86/fp-nan-strictfp.ll
    M llvm/test/Transforms/InstSimplify/fast-math-strictfp.ll
    M llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll
    M llvm/test/Transforms/InstSimplify/fp-undef-poison-strictfp.ll
    M llvm/test/Transforms/InstSimplify/strictfp-fsub.ll

  Log Message:
  -----------
  [FPEnv][InstSimplify] Correct strictfp tests.

Correct InstSimplify strictfp tests to follow the rules documented
in the LangRef:
https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics

Some of these tests needed the strictfp attribute on function
definitions. After D154991 the constrained intrinsics have the
strictfp attribute by default so they don't need it here, but other
functions do.

Test changes verified with D146845.




More information about the All-commits mailing list