[all-commits] [llvm/llvm-project] 33e25c: [FPEnv][X86] Correct strictfp tests.

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Wed Jul 26 10:36:38 PDT 2023


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

  Changed paths:
    M llvm/test/CodeGen/X86/half-darwin.ll
    M llvm/test/CodeGen/X86/is_fpclass-fp80.ll
    M llvm/test/CodeGen/X86/is_fpclass.ll

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

Recommit only the tests that look good this time.

Correct X86 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. 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