[all-commits] [llvm/llvm-project] eb2558: Recommit [FPEnv][InstSimplify] Correct strictfp te...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Thu Aug 3 06:45:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb2558c5666cea0e509ae334ac20cf0f54a92032
      https://github.com/llvm/llvm-project/commit/eb2558c5666cea0e509ae334ac20cf0f54a92032
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2023-08-03 (Thu, 03 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:
  -----------
  Recommit [FPEnv][InstSimplify] Correct strictfp tests.

The errant test in the previous iteration has been corrected now.

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