aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-13 03:26:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-13 03:26:46 +0000
commit5e5ed4457749995b46d46e9769e657fcc0818e2c (patch)
treec97c95cd44a3fe2469a41fb69cf45e15125a20af /test/CodeGen/ARM
parent687397c01387534e98d2e8332d4b91536290d778 (diff)
downloadexternal_llvm-5e5ed4457749995b46d46e9769e657fcc0818e2c.zip
external_llvm-5e5ed4457749995b46d46e9769e657fcc0818e2c.tar.gz
external_llvm-5e5ed4457749995b46d46e9769e657fcc0818e2c.tar.bz2
Be less aggressive about hinting in RAFast.
In particular, don't spill dirty registers only to satisfy a hint. It is not worth it. The attached test case provides an example where the fast allocator would spill a register when other registers are available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/fast-isel-static.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/fast-isel-static.ll b/test/CodeGen/ARM/fast-isel-static.ll
index 2d79674..a86e325 100644
--- a/test/CodeGen/ARM/fast-isel-static.ll
+++ b/test/CodeGen/ARM/fast-isel-static.ll
@@ -23,7 +23,7 @@ entry:
%z = alloca float, align 4
store float 0.000000e+00, float* %ztot, align 4
store float 1.000000e+00, float* %z, align 4
-; CHECK-LONG: blx r2
+; CHECK-LONG: blx r
; CHECK-NORM: bl _myadd
call void @myadd(float* %ztot, float* %z)
ret i32 0