Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/AArch64/aarch64-2014-12-02-combine-soften.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 60c9769439b8 |
children |
line wrap: on
line source
;RUN: llc <%s -mattr=-neon -mattr=-fp-armv8 | FileCheck %s target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128" target triple = "aarch64" @t = common global i32 0, align 4 @x = common global i32 0, align 4 define void @foo() { entry: ;CHECK-LABEL: foo: ;CHECK: __floatsisf %0 = load i32, i32* @x, align 4 %conv = sitofp i32 %0 to float store float %conv, float* bitcast (i32* @t to float*), align 4 ret void }