Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison test/CodeGen/AArch64/regress-tail-livereg.ll @ 95:afa8332a0e37
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
3 | 3 |
4 declare void @bar() | 4 declare void @bar() |
5 | 5 |
6 define void @foo() { | 6 define void @foo() { |
7 ; CHECK-LABEL: foo: | 7 ; CHECK-LABEL: foo: |
8 %func = load void()** @var | 8 %func = load void()*, void()** @var |
9 | 9 |
10 ; Calling a function encourages @foo to use a callee-saved register, | 10 ; Calling a function encourages @foo to use a callee-saved register, |
11 ; which makes it a natural choice for the tail call itself. But we don't | 11 ; which makes it a natural choice for the tail call itself. But we don't |
12 ; want that: the final "br xN" has to use a temporary or argument | 12 ; want that: the final "br xN" has to use a temporary or argument |
13 ; register. | 13 ; register. |