Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 1172e4bd9c6f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,9 @@ +; RUN: llc < %s -march=ppc32 + + +define double @CalcSpeed(float %tmp127) { + %tmp145 = fpext float %tmp127 to double ; <double> [#uses=1] + %tmp150 = call double asm "frsqrte $0,$1", "=f,f"( double %tmp145 ) ; <double> [#uses=1] + ret double %tmp150 +} +