Skip to content

Commit

Permalink
[FPEnv][SystemZ] Correct strictfp tests.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kpneal committed Jul 26, 2023
1 parent d685706 commit 58ad569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/SystemZ/sext-zext.ll
Expand Up @@ -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
Expand Down

0 comments on commit 58ad569

Please sign in to comment.