X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FGlobalOpt%2Fconstantexpr-dangle.ll;h=fbbfe69c15ab88127f3edb6000f54e786d447ca7;hb=32b845d223393d9f5e7317b9e754a52b79543de2;hp=31947152d0a2680990576276668ed7d30d4f60ff;hpb=b1e1e82c54c060ea5dae09dae043234826ca2539;p=oota-llvm.git diff --git a/test/Transforms/GlobalOpt/constantexpr-dangle.ll b/test/Transforms/GlobalOpt/constantexpr-dangle.ll index 31947152d0a..fbbfe69c15a 100644 --- a/test/Transforms/GlobalOpt/constantexpr-dangle.ll +++ b/test/Transforms/GlobalOpt/constantexpr-dangle.ll @@ -1,12 +1,12 @@ -; RUN: opt %s -instcombine -globalopt | llvm-dis | \ -; RUN: grep {internal fastcc float @foo} +; RUN: opt < %s -instcombine -globalopt -S | \ +; RUN: grep "internal fastcc float @foo" define internal float @foo() { ret float 0.000000e+00 } define float @bar() { - %tmp1 = call float (...)* bitcast (float ()* @foo to float (...)*)( ) + %tmp1 = call float (...) bitcast (float ()* @foo to float (...)*)( ) %tmp2 = fmul float %tmp1, 1.000000e+01 ; [#uses=1] ret float %tmp2 }