1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/X86/fast-isel-x32.ll
Derek Schuff 213b9c7788 Fix test breakage from r221386
llvm-svn: 221389
2014-11-05 20:02:05 +00:00

15 lines
404 B
LLVM

; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -fast-isel -fast-isel-abort | FileCheck %s
; RUN: llc < %s -mtriple=x86_64-nacl -fast-isel -fast-isel-abort | FileCheck %s
; Test that alloca addresses are materialized with the right size instruction.
declare void @bar(i32* %arg)
; CHECK-LABEL: @foo
define void @foo() {
%a = alloca i32
; CHECK: leal {{.*}}, %edi
call void @bar(i32* %a)
ret void
}