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/X86/fast-isel-gep.ll | |
parent | 687397c01387534e98d2e8332d4b91536290d778 (diff) | |
download | external_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/X86/fast-isel-gep.ll')
-rw-r--r-- | test/CodeGen/X86/fast-isel-gep.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-isel-gep.ll b/test/CodeGen/X86/fast-isel-gep.ll index 48abfd0..1a2e34e 100644 --- a/test/CodeGen/X86/fast-isel-gep.ll +++ b/test/CodeGen/X86/fast-isel-gep.ll @@ -24,7 +24,7 @@ define i32 @test2(i64 %t3, i32* %t1) nounwind { %t15 = load i32* %t9 ; <i32> [#uses=1] ret i32 %t15 ; X32: test2: -; X32: movl (%edx,%ecx,4), %eax +; X32: movl (%edx,%ecx,4), %e ; X32: ret ; X64: test2: |