Mercurial > hg > CbC > CbC_llvm
view test/ExecutionEngine/fma3-jit.ll @ 52:c22698ecb2a9
modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Jan 2014 21:01:33 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
; RUN: %lli %s | FileCheck %s ; REQUIRES: fma3 ; CHECK: 12.000000 @msg_double = internal global [4 x i8] c"%f\0A\00" declare i32 @printf(i8*, ...) define i32 @main() { %fma = tail call double @llvm.fma.f64(double 3.0, double 3.0, double 3.0) nounwind readnone %ptr1 = getelementptr [4 x i8]* @msg_double, i32 0, i32 0 call i32 (i8*,...)* @printf(i8* %ptr1, double %fma) ret i32 0 } declare double @llvm.fma.f64(double, double, double) nounwind readnone