Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/X86/fast-isel-x32.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 |
rev | line source |
---|---|
95 | 1 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -fast-isel -fast-isel-abort=1 | FileCheck %s |
2 ; RUN: llc < %s -mtriple=x86_64-nacl -fast-isel -fast-isel-abort=1 | FileCheck %s | |
83 | 3 |
4 ; Test that alloca addresses are materialized with the right size instruction. | |
5 | |
6 declare void @bar(i32* %arg) | |
7 | |
8 ; CHECK-LABEL: @foo | |
9 define void @foo() { | |
10 %a = alloca i32 | |
11 ; CHECK: leal {{.*}}, %edi | |
12 call void @bar(i32* %a) | |
13 ret void | |
14 } |