From 190574e2d65b075d2ef695436d350b3ba1918fce Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Wed, 4 Jan 2017 21:08:53 +0000 Subject: [PATCH] Remove accidentally target-dependent test and pacify bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291004 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../PartiallyInlineLibCalls/good-prototype.ll | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/Transforms/PartiallyInlineLibCalls/good-prototype.ll diff --git a/test/Transforms/PartiallyInlineLibCalls/good-prototype.ll b/test/Transforms/PartiallyInlineLibCalls/good-prototype.ll deleted file mode 100644 index ed975052732..00000000000 --- a/test/Transforms/PartiallyInlineLibCalls/good-prototype.ll +++ /dev/null @@ -1,23 +0,0 @@ -; RUN: opt -S -partially-inline-libcalls < %s | FileCheck %s -; RUN: opt -S -passes=partially-inline-libcalls < %s | FileCheck %s - -target triple = "x86_64-unknown-linux-gnu" - -define float @f(float %val) { -; CHECK: @f -; CHECK: entry: -; CHECK-NEXT: %[[RES:.+]] = tail call float @sqrtf(float %val) #0 -; CHECK-NEXT: %[[CMP:.+]] = fcmp oeq float %[[RES]], %[[RES]] -; CHECK-NEXT: br i1 %[[CMP]], label %[[EXIT:.+]], label %[[CALL:.+]] -; CHECK: [[CALL]]: -; CHECK-NEXT: %[[RES2:.+]] = tail call float @sqrtf(float %val){{$}} -; CHECK-NEXT: br label %[[EXIT]] -; CHECK: [[EXIT]]: -; CHECK-NEXT: %[[RET:.+]] = phi float [ %[[RES]], %entry ], [ %[[RES2]], %[[CALL]] ] -; CHECK-NEXT: ret float %[[RET]] -entry: - %res = tail call float @sqrtf(float %val) - ret float %res -} - -declare float @sqrtf(float) -- 2.11.0