From: Davide Italiano Date: Mon, 30 Nov 2015 19:38:35 +0000 (+0000) Subject: [SimplifyLibCalls] Remove useless bits of this tests. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=76755680f6325f0cad7502a2a832a3376b1e3747 [SimplifyLibCalls] Remove useless bits of this tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254318 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/log-pow-nofastmath.ll b/test/Transforms/InstCombine/log-pow-nofastmath.ll index 6c37c5466ce..faaef97311e 100644 --- a/test/Transforms/InstCombine/log-pow-nofastmath.ll +++ b/test/Transforms/InstCombine/log-pow-nofastmath.ll @@ -1,9 +1,9 @@ ; RUN: opt < %s -instcombine -S | FileCheck %s -define double @mylog(double %x, double %y) #0 { +define double @mylog(double %x, double %y) { entry: %pow = call double @llvm.pow.f64(double %x, double %y) - %call = call double @log(double %pow) #0 + %call = call double @log(double %pow) ret double %call } @@ -13,9 +13,9 @@ entry: ; CHECK: ret double %call ; CHECK: } -define double @test3(double %x) #0 { - %call2 = call double @exp2(double %x) #0 - %call3 = call double @log(double %call2) #0 +define double @test3(double %x) { + %call2 = call double @exp2(double %x) + %call3 = call double @log(double %call2) ret double %call3 } @@ -25,6 +25,6 @@ define double @test3(double %x) #0 { ; CHECK: ret double %call3 ; CHECK: } -declare double @log(double) #0 +declare double @log(double) declare double @exp2(double) declare double @llvm.pow.f64(double, double)