| ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=X64 |
| ; RUN: llc < %s -mtriple=x86_64-pc-win32 | FileCheck %s -check-prefix=WIN64 |
| define void @bar1(i1 zeroext %v1) nounwind ssp { |
| %conv = zext i1 %v1 to i32 |
| %call = tail call i32 (...)* @foo1(i32 %conv) nounwind |
| define void @bar2(i8 zeroext %v1) nounwind ssp { |
| %conv = zext i8 %v1 to i32 |
| %call = tail call i32 (...)* @foo1(i32 %conv) nounwind |
| define zeroext i1 @bar3() nounwind ssp { |
| %call = call i1 @foo2() nounwind |
| declare zeroext i1 @foo2() |