[all-commits] [llvm/llvm-project] 7e0e8b: [FPEnv][PowerPC] Correct strictfp tests.

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Wed Jul 26 06:13:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e0e8b7acee4be6d7fdeffc3c14738ab1fc962cd
      https://github.com/llvm/llvm-project/commit/7e0e8b7acee4be6d7fdeffc3c14738ab1fc962cd
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/fp-strict-conv.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-round.ll
    M llvm/test/CodeGen/PowerPC/is_fpclass.ll
    M llvm/test/CodeGen/PowerPC/nofpexcept.ll

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

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

Mostly these tests just needed the strictfp attribute on function
definitions.  I've also removed the strictfp attribute from uses
of the constrained intrinsics because it comes by default since
D154991, but I only did this in tests I was changing anyway.

I have removed attributes added to declare lines of intrinsics. The
attributes of intrinsics cannot be changed in a test so I eliminated
attempts to do so.

Test changes verified with D146845.




More information about the All-commits mailing list