Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/powi.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
; RUN: llc %s -march=x86 -mcpu=yonah -o - | grep mulsd | count 6 ; Ideally this would compile to 5 multiplies. define double @_Z3f10d(double %a) nounwind readonly ssp noredzone { entry: %0 = tail call double @llvm.powi.f64(double %a, i32 15) nounwind ; <double> [#uses=1] ret double %0 } declare double @llvm.powi.f64(double, i32) nounwind readonly