repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
X86
/
stdcall-notailcall.ll
blob
448db4cda17f19e9619da35761e3144a61c450aa
1
; RUN: llc -mtriple=i386-apple-darwin11 -O2 < %s | FileCheck %s
2
3
%struct.I = type { i32 (...)** }
4
define x86_stdcallcc void @bar(%struct.I* nocapture %this) ssp align 2 {
5
; CHECK-LABEL: bar:
6
; CHECK-NOT: jmp
7
; CHECK: retl $4
8
entry:
9
tail call void @foo()
10
ret void
11
}
12
13
define x86_thiscallcc void @test2(%struct.I* %this, i32 %a) {
14
; CHECK-LABEL: test2:
15
; CHECK: calll _foo
16
; CHECK: retl $4
17
tail call void @foo()
18
ret void
19
}
20
21
declare void @foo()