File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-build-swift -emit-ir %s | FileCheck -check-prefix=%target-cpu %s
2
- // REQUIRES: executable_test
2
+ // RUN: %target-build-swift -O -emit-ir %s | FileCheck -check-prefix=%target-cpu %s
3
+ // RUN: %target-build-swift -Ounchecked -emit-ir %s | FileCheck -check-prefix=%target-cpu %s
4
+
3
5
var globalFloat32 : Float32 = 0.0
4
6
var globalFloat64 : Float64 = 0.0
5
7
#if arch(i386) || arch(x86_64)
@@ -42,6 +44,9 @@ func testConstantFoldFloatLiterals() {
42
44
// armv7: call void @{{.*}}_TF15FloatingPointIR13acceptFloat32FSfT_(float 1.000000e+00)
43
45
// armv7: call void @{{.*}}_TF15FloatingPointIR13acceptFloat64FSdT_(double 1.000000e+00)
44
46
47
+ // armv7s: call void @{{.*}}_TF15FloatingPointIR13acceptFloat32FSfT_(float 1.000000e+00)
48
+ // armv7s: call void @{{.*}}_TF15FloatingPointIR13acceptFloat64FSdT_(double 1.000000e+00)
49
+
45
50
// armv7k: call void @{{.*}}_TF15FloatingPointIR13acceptFloat32FSfT_(float 1.000000e+00)
46
51
// armv7k: call void @{{.*}}_TF15FloatingPointIR13acceptFloat64FSdT_(double 1.000000e+00)
47
52
You can’t perform that action at this time.
0 commit comments