1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 07:52:55 +01:00
llvm-mirror/test/CodeGen/X86/bool-zext.ll
Cameron Zwarich 005920cae9 Rename a test to be more inclusive.
llvm-svn: 127765
2011-03-16 22:20:12 +00:00

24 lines
474 B
LLVM

; RUN: llc < %s -march=x86-64 | FileCheck %s
; CHECK: @bar1
; CHECK: movzbl
; CHECK: callq
define void @bar1(i1 zeroext %v1) nounwind ssp {
entry:
%conv = zext i1 %v1 to i32
%call = tail call i32 (...)* @foo(i32 %conv) nounwind
ret void
}
; CHECK: @bar2
; CHECK-NOT: movzbl
; CHECK: callq
define void @bar2(i8 zeroext %v1) nounwind ssp {
entry:
%conv = zext i8 %v1 to i32
%call = tail call i32 (...)* @foo(i32 %conv) nounwind
ret void
}
declare i32 @foo(...)