Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/red-zone.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s | |
2 | |
3 ; First without noredzone. | |
4 ; CHECK-LABEL: f0: | |
5 ; CHECK: -4(%rsp) | |
6 ; CHECK: -4(%rsp) | |
7 ; CHECK: ret | |
8 define x86_fp80 @f0(float %f) nounwind readnone { | |
9 entry: | |
10 %0 = fpext float %f to x86_fp80 ; <x86_fp80> [#uses=1] | |
11 ret x86_fp80 %0 | |
12 } | |
13 | |
14 ; Then with noredzone. | |
15 ; CHECK-LABEL: f1: | |
16 ; CHECK: subq $4, %rsp | |
17 ; CHECK: (%rsp) | |
18 ; CHECK: (%rsp) | |
19 ; CHECK: addq $4, %rsp | |
20 ; CHECK: ret | |
21 define x86_fp80 @f1(float %f) nounwind readnone noredzone { | |
22 entry: | |
23 %0 = fpext float %f to x86_fp80 ; <x86_fp80> [#uses=1] | |
24 ret x86_fp80 %0 | |
25 } |