[llvm] 58ad569 - [FPEnv][SystemZ] Correct strictfp tests.
Kevin P. Neal via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 06:08:58 PDT 2023
Author: Kevin P. Neal
Date: 2023-07-26T09:08:46-04:00
New Revision: 58ad5699e724d199e1b0f79ead0e762765079737
URL: https://github.com/llvm/llvm-project/commit/58ad5699e724d199e1b0f79ead0e762765079737
DIFF: https://github.com/llvm/llvm-project/commit/58ad5699e724d199e1b0f79ead0e762765079737.diff
LOG: [FPEnv][SystemZ] Correct strictfp tests.
Correct a SystemZ strictfp test to follow the rules documented in the LangRef:
https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics
This test, like many others, just needed the function definition corrected.
Test changes verified with D146845.
Added:
Modified:
llvm/test/CodeGen/SystemZ/sext-zext.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/SystemZ/sext-zext.ll b/llvm/test/CodeGen/SystemZ/sext-zext.ll
index fbe1c44c1e504a..c11dcc06764ee9 100644
--- a/llvm/test/CodeGen/SystemZ/sext-zext.ll
+++ b/llvm/test/CodeGen/SystemZ/sext-zext.ll
@@ -30,7 +30,7 @@ define i32 @sext_of_not_cmp(i32 %x) {
;; fold (sext (not (setcc a, b, cc))) -> (sext (setcc a, b, !cc))
;; make sure we don't crash if the not gets replaced in-visit
-define i32 @sext_of_not_fsetccs(double %x) {
+define i32 @sext_of_not_fsetccs(double %x) strictfp {
; CHECK-LABEL: sext_of_not_fsetccs:
; CHECK: # %bb.0:
; CHECK-NEXT: ltdbr %f0, %f0
More information about the llvm-commits
mailing list