Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/AArch64/aarch64-2014-12-02-combine-soften.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children |
rev | line source |
---|---|
83 | 1 ;RUN: llc <%s -mattr=-neon -mattr=-fp-armv8 | FileCheck %s |
2 target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128" | |
3 target triple = "aarch64" | |
4 | |
5 @t = common global i32 0, align 4 | |
6 @x = common global i32 0, align 4 | |
7 | |
8 define void @foo() { | |
9 entry: | |
10 ;CHECK-LABEL: foo: | |
11 ;CHECK: __floatsisf | |
95 | 12 %0 = load i32, i32* @x, align 4 |
83 | 13 %conv = sitofp i32 %0 to float |
14 store float %conv, float* bitcast (i32* @t to float*), align 4 | |
15 ret void | |
16 } |