Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/fast-isel-x32.ll @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | |
children | afa8332a0e37 |
comparison
equal
deleted
inserted
replaced
78:af83660cff7b | 83:60c9769439b8 |
---|---|
1 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -fast-isel -fast-isel-abort | FileCheck %s | |
2 ; RUN: llc < %s -mtriple=x86_64-nacl -fast-isel -fast-isel-abort | FileCheck %s | |
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 } |