blob: 4d7d36698c59fc001f9cf0eb1a1744ee2f40d2f8 [file] [log] [blame]
Ehsan Amiria538b0f2016-08-03 18:17:35 +00001; RUN: llc -verify-machineinstrs < %s -march=ppc32
Chris Lattnera13540b2006-04-02 00:23:59 +00002
Tanya Lattner8bf97c22008-03-25 04:26:08 +00003
4define double @CalcSpeed(float %tmp127) {
5 %tmp145 = fpext float %tmp127 to double ; <double> [#uses=1]
6 %tmp150 = call double asm "frsqrte $0,$1", "=f,f"( double %tmp145 ) ; <double> [#uses=1]
7 ret double %tmp150
Chris Lattnera13540b2006-04-02 00:23:59 +00008}
Tanya Lattner8bf97c22008-03-25 04:26:08 +00009