[all-commits] [llvm/llvm-project] b06568: [FPEnv][llvm-reduce] Correct strictfp test.

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Tue Feb 6 05:13:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b06568fa623c746d40638137504d52e19911bf32
      https://github.com/llvm/llvm-project/commit/b06568fa623c746d40638137504d52e19911bf32
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M llvm/test/tools/llvm-reduce/remove-attributes-strictfp.ll

  Log Message:
  -----------
  [FPEnv][llvm-reduce] Correct strictfp test.

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

This test needed the strictfp attribute added to a function call.

Note that attributes of intrinsics cannot be changed in declarations,
but attributes can be changed in call sites. Thus the changes to the
declarations. And the constrained intrinsics have strictfp attributes
by default.

Test changes verified with D146845.




More information about the All-commits mailing list