Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 576759d

Browse files
committed
[InstSimplify] fix FP infinite hex constant values in tests; NFC
Really should improve this... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327144 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 588f39f commit 576759d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/Transforms/InstSimplify/fp-undef.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ define double @fadd_undef_op1_fast_constant_inf(double %x) {
401401

402402
define double @fsub_undef_op0_constant_inf(double %x) {
403403
; CHECK-LABEL: @fsub_undef_op0_constant_inf(
404-
; CHECK-NEXT: ret double fsub (double undef, double 0xFFF8000000000000)
404+
; CHECK-NEXT: ret double fsub (double undef, double 0xFFF0000000000000)
405405
;
406-
%r = fsub double undef, 0xFFF8000000000000
406+
%r = fsub double undef, 0xFFF0000000000000
407407
ret double %r
408408
}
409409

@@ -417,9 +417,9 @@ define double @fsub_undef_op1_ninf_constant_inf(double %x) {
417417

418418
define double @fmul_undef_op0_constant_inf(double %x) {
419419
; CHECK-LABEL: @fmul_undef_op0_constant_inf(
420-
; CHECK-NEXT: ret double fmul (double undef, double 0x7FF8000000000000)
420+
; CHECK-NEXT: ret double fmul (double undef, double 0x7FF0000000000000)
421421
;
422-
%r = fmul double undef, 0x7FF8000000000000
422+
%r = fmul double undef, 0x7FF0000000000000
423423
ret double %r
424424
}
425425

@@ -433,9 +433,9 @@ define double @fmul_undef_op1_fast_constant_inf(double %x) {
433433

434434
define double @fdiv_undef_op0_constant_inf(double %x) {
435435
; CHECK-LABEL: @fdiv_undef_op0_constant_inf(
436-
; CHECK-NEXT: ret double fdiv (double undef, double 0xFFF8000000000000)
436+
; CHECK-NEXT: ret double fdiv (double undef, double 0xFFF0000000000000)
437437
;
438-
%r = fdiv double undef, 0xFFF8000000000000
438+
%r = fdiv double undef, 0xFFF0000000000000
439439
ret double %r
440440
}
441441

@@ -449,9 +449,9 @@ define double @fdiv_undef_op1_ninf_constant_inf(double %x) {
449449

450450
define double @frem_undef_op0_constant_inf(double %x) {
451451
; CHECK-LABEL: @frem_undef_op0_constant_inf(
452-
; CHECK-NEXT: ret double frem (double undef, double 0x7FF8000000000000)
452+
; CHECK-NEXT: ret double frem (double undef, double 0x7FF0000000000000)
453453
;
454-
%r = frem double undef, 0x7FF8000000000000
454+
%r = frem double undef, 0x7FF0000000000000
455455
ret double %r
456456
}
457457

0 commit comments

Comments
 (0)