Skip to content

Commit 6e6cb21

Browse files
committed
be precise
1 parent 67752c4 commit 6e6cb21

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

llvm/test/Transforms/InstSimplify/ConstProp/sinh-cosh-intrinsics.ll

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ define double @test_sinh_0() {
1111

1212
define double @test_sinh_ln2() {
1313
; CHECK-LABEL: define double @test_sinh_ln2() {
14-
; CHECK-NEXT: ret double 0x3FE8000000000268
14+
; CHECK-NEXT: ret double 7.500000e-01
1515
;
16-
%res = call double @llvm.sinh.f64(double 0.69314718056)
16+
%res = call double @llvm.sinh.f64(double 0x3fe62e42fefa39ef)
1717
ret double %res
1818
}
1919

20-
define double @test_sinh_ln5() {
21-
; CHECK-LABEL: define double @test_sinh_ln5() {
22-
; CHECK-NEXT: ret double 0x400333333332D56D
20+
define double @test_sinh_2() {
21+
; CHECK-LABEL: define double @test_sinh_2() {
22+
; CHECK-NEXT: ret double 0x400D03CF63B6E1A0
2323
;
24-
%res = call double @llvm.sinh.f64(double 1.60943791243)
24+
%res = call double @llvm.sinh.f64(double 2.0)
2525
ret double %res
2626
}
2727

@@ -105,17 +105,17 @@ define double @test_cosh_0() {
105105

106106
define double @test_cosh_ln2() {
107107
; CHECK-LABEL: define double @test_cosh_ln2() {
108-
; CHECK-NEXT: ret double 0x3FF40000000000B8
108+
; CHECK-NEXT: ret double 1.250000e+00
109109
;
110-
%res = call double @llvm.cosh.f64(double 0.69314718056)
110+
%res = call double @llvm.cosh.f64(double 0x3fe62e42fefa39ef)
111111
ret double %res
112112
}
113113

114-
define double @test_cosh_ln5() {
115-
; CHECK-LABEL: define double @test_cosh_ln5() {
116-
; CHECK-NEXT: ret double 0x4004CCCCCCCC763D
114+
define double @test_cosh_2() {
115+
; CHECK-LABEL: define double @test_cosh_2() {
116+
; CHECK-NEXT: ret double 0x400E18FA0DF2D9BC
117117
;
118-
%res = call double @llvm.cosh.f64(double 1.60943791243)
118+
%res = call double @llvm.cosh.f64(double 2.0)
119119
ret double %res
120120
}
121121

0 commit comments

Comments
 (0)