aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-11 18:54:45 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-05-11 18:54:45 +0000
commitbbf33b38aaaa6cdbdd2c6a595aa081734308ce83 (patch)
tree849278e87bc90bfb9cb012c5334c6cccdc68fdc9 /test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll
parent17c4a621fe61a70b106548d168271f37fce1e89d (diff)
downloadexternal_llvm-bbf33b38aaaa6cdbdd2c6a595aa081734308ce83.zip
external_llvm-bbf33b38aaaa6cdbdd2c6a595aa081734308ce83.tar.gz
external_llvm-bbf33b38aaaa6cdbdd2c6a595aa081734308ce83.tar.bz2
Mostly rewrite RegAllocFast.
Sorry for the big change. The path leading up to this patch had some TableGen changes that I didn't want to commit before I knew they were useful. They weren't, and this version does not need them. The fast register allocator now does no liveness calculations. Instead it relies on kill flags provided by isel. (Currently those kill flags are also ignored due to isel bugs). The allocation algorithm is supposed to work with any subset of valid kill flags. More kill flags simply means fewer spills inserted. Registers are allocated from a working set that contains no aliases. That means most allocations can be done directly without expensive alias checks. When the working set runs out of registers we do the full alias check to find new free registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll')
-rw-r--r--test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll b/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll
index 167acdf..e554f9f 100644
--- a/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll
+++ b/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll
@@ -1,4 +1,5 @@
-; RUN: llc -regalloc=local %s -o /dev/null
+; RUN: llc -regalloc=local %s -o %t
+; RUN: llc -regalloc=fast %s -o %t
; PR7066
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"