[all-commits] [llvm/llvm-project] b58b7f: [FPEnv][LibCallsShrinkWrap] Correct strictfp tests.

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


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

  Changed paths:
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-strictfp.ll

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

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

These tests needed the strictfp attribute added to function calls.

Since I was here anyway I removed the strictfp attribute from
constrained intrinsic calls. 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