Skip to content

Commit

Permalink
fixup IRGen test for exp on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentyrone committed Apr 3, 2019
1 parent 2bc6040 commit 45a76fe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/IRGen/builtin_math.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@
// Make sure we use an intrinsic for functions such as exp.

// CHECK-LABEL: define {{.*}}test1
// CHECK-ios: call float @llvm.exp.f32
// CHECK-macosx: call float @llvm.exp.f32
// CHECK-tvos: call float @llvm.exp.f32
// CHECK-watchos: call float @llvm.exp.f32
// CHECK-darwin: call float @llvm.exp.f32
// CHECK-linux-gnu: call float @expf
// CHECK-windows: call float @expf
// CHECK: call float @llvm.exp.f32

public func test1(f : Float) -> Float {
return exp(f)
Expand Down

0 comments on commit 45a76fe

Please sign in to comment.