repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
stdcall-notailcall.ll
blob
3ad6e408ac06de6a790c0d1ea9ead51c90fe6f39
1
; RUN: llc -mtriple=i386-apple-darwin11 -O2 < %s | FileCheck %s
2
3
%struct.I = type { ptr }
4
define x86_stdcallcc void @bar(ptr 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(ptr %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()