]> granicus.if.org Git - llvm/commit
[FPEnv][NFC] Change test to conform to strictfp attribute rules.
authorKevin P. Neal <kevin.neal@sas.com>
Wed, 9 Oct 2019 17:24:56 +0000 (17:24 +0000)
committerKevin P. Neal <kevin.neal@sas.com>
Wed, 9 Oct 2019 17:24:56 +0000 (17:24 +0000)
commitf62ff89b28d3e92c212909180f1c9f0da8c27611
treea4cf33de6c66e692c9645bdeced460ff78934466
parent006958b5ff50c846f3d89ac2b72ef476a58c23b8
[FPEnv][NFC] Change test to conform to strictfp attribute rules.

In particular, the function definition is not marked strictfp despite
containing a function marked strictfp. Also, if any function call is marked
strictfp then all function calls in that function must be marked.

This change to move the one strictfp call to a new properly marked function
meets all the new rules.

Tested with a stricter version of D68233.

Reviewed by: spatel
Approved by: spatel
Differential Revision: https://reviews.llvm.org/D68713

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374186 91177308-0d34-0410-b5e6-96231b3b80d8
test/Bitcode/compatibility.ll