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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
bolt
/
test
/
X86
/
sctc-bug.test
blob
a4568aca14144ac51775cf33e7a37bbb616cee27
1
# Check that we don't accidentally optimize out a tail call.
2
3
RUN: %clang %cflags %S/Inputs/sctc_bug.s -o %t
4
RUN: llvm-bolt %t -o /dev/null --funcs=main --print-after-lowering \
5
RUN: 2>&1 | FileCheck %s
6
7
CHECK: jp .L{{.*}}
8
CHECK: je foo # TAILCALL
9
CHECK: xorl %eax, %eax
10
CHECK: retq