File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed
llvm/test/Transforms/InstSimplify/ConstProp Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,9 @@ define double @test_sinh_0() {
11
11
12
12
define double @test_sinh_ln2 () {
13
13
; CHECK-LABEL: define double @test_sinh_ln2() {
14
- ; CHECK-NEXT: ret double 0x3FE8000000000268
14
+ ; CHECK-NEXT: ret double 7.500000e-01
15
15
;
16
- %res = call double @llvm.sinh.f64 (double 0 .69314718056 )
17
- ret double %res
18
- }
19
-
20
- define double @test_sinh_ln5 () {
21
- ; CHECK-LABEL: define double @test_sinh_ln5() {
22
- ; CHECK-NEXT: ret double 0x400333333332D56D
23
- ;
24
- %res = call double @llvm.sinh.f64 (double 1 .60943791243 )
16
+ %res = call double @llvm.sinh.f64 (double 0x3fe62e42fefa39ef )
25
17
ret double %res
26
18
}
27
19
@@ -105,17 +97,9 @@ define double @test_cosh_0() {
105
97
106
98
define double @test_cosh_ln2 () {
107
99
; CHECK-LABEL: define double @test_cosh_ln2() {
108
- ; CHECK-NEXT: ret double 0x3FF40000000000B8
109
- ;
110
- %res = call double @llvm.cosh.f64 (double 0 .69314718056 )
111
- ret double %res
112
- }
113
-
114
- define double @test_cosh_ln5 () {
115
- ; CHECK-LABEL: define double @test_cosh_ln5() {
116
- ; CHECK-NEXT: ret double 0x4004CCCCCCCC763D
100
+ ; CHECK-NEXT: ret double 1.250000e+00
117
101
;
118
- %res = call double @llvm.cosh.f64 (double 1 . 60943791243 )
102
+ %res = call double @llvm.cosh.f64 (double 0x3fe62e42fefa39ef )
119
103
ret double %res
120
104
}
121
105
You can’t perform that action at this time.
0 commit comments