[all-commits] [llvm/llvm-project] 1e7c79: [FPEnv][InstCombine] Correct strictfp tests.

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


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
    M llvm/test/Transforms/InstCombine/is_fpclass.ll

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

Correct InstCombine 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