diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-13 03:26:46 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-13 03:26:46 +0000 |
commit | 5e5ed4457749995b46d46e9769e657fcc0818e2c (patch) | |
tree | c97c95cd44a3fe2469a41fb69cf45e15125a20af /test/CodeGen/ARM/fast-isel-static.ll | |
parent | 687397c01387534e98d2e8332d4b91536290d778 (diff) |
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/fast-isel-static.ll')
-rw-r--r-- | test/CodeGen/ARM/fast-isel-static.ll | 2 |
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 2d79674028..a86e3251f7 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 |