Turning simple splitting on. Start testing new coalescer heuristics as new llcbeta.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Dec 2007 08:54:31 +0000 (08:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Dec 2007 08:54:31 +0000 (08:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44660 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp
test/CodeGen/ARM/remat.ll
test/CodeGen/X86/2007-08-13-SpillerReuse.ll
test/CodeGen/X86/2007-11-30-TestLoadFolding.ll

index 92627345ded647581e505dc9d61c662234b6e871..d151da3a946585d4e4072fbe93672f0fbc74b908 100644 (file)
@@ -42,7 +42,7 @@ namespace {
                               cl::init(false), cl::Hidden);
 
   cl::opt<bool> SplitAtBB("split-intervals-at-bb", 
-                          cl::init(false), cl::Hidden);
+                          cl::init(true), cl::Hidden);
   cl::opt<int> SplitLimit("split-limit",
                           cl::init(-1), cl::Hidden);
 }
index 7b7cc1002c1361b9985dd0ae6aeb1f32b7ec7d66..82bf5f0b7a6ccb4ca922e1f4df4cf1bbff7fd1fd 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin 
-; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -stats -info-output-file - | grep "Number of re-materialization" | grep 5
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -stats -info-output-file - | grep "Number of re-materialization" | grep 3
 
        %struct.CONTENTBOX = type { i32, i32, i32, i32, i32 }
        %struct.LOCBOX = type { i32, i32, i32, i32 }
index 0ad67818381f9cb392c5fee0b54a9b4ed52d35af..8cc235ba6caaeb7a94edbe883121a749c78a35ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep "48(%esp)" | count 6
+; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep "48(%esp)" | count 5
 
        %struct..0anon = type { i32 }
        %struct.rtvec_def = type { i32, [1 x %struct..0anon] }
index 25fc6ac6a2d4fe43c13864d74016c60ad5e059ac..f2e0cc5940ada6410101a13371d9d6b42b9dba35 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 -stats |& \
-; RUN:   grep {2 .*folded into instructions}
+; RUN:   grep {1 .*folded into instructions}
 ; RUN: llvm-as < %s | llc -march=x86 | grep cmp | count 3
 
        %struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }