diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-18 04:52:23 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-18 04:52:23 +0000 |
commit | 438d9900c0170699deaa3124e9b9a7902d7251b6 (patch) | |
tree | 0e43cb9a04ec43e141efa2f9a7e164649aa9fb56 /test | |
parent | 5248468473f0488a652b545ad95f7abda302b7b5 (diff) | |
download | external_llvm-438d9900c0170699deaa3124e9b9a7902d7251b6.zip external_llvm-438d9900c0170699deaa3124e9b9a7902d7251b6.tar.gz external_llvm-438d9900c0170699deaa3124e9b9a7902d7251b6.tar.bz2 |
Catch more coalescing opportunities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/ins_subreg_coalesce-3.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/stack-color-with-reg.ll | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/ins_subreg_coalesce-3.ll b/test/CodeGen/X86/ins_subreg_coalesce-3.ll index ee3ac66..6fd18d6 100644 --- a/test/CodeGen/X86/ins_subreg_coalesce-3.ll +++ b/test/CodeGen/X86/ins_subreg_coalesce-3.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86-64 | grep mov | count 11 +; RUN: llvm-as < %s | llc -march=x86-64 | grep mov | count 10 %struct.COMPOSITE = type { i8, i16, i16 } %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 } @@ -17,7 +17,7 @@ %struct.metrics = type { i16, i16, i16, i16, i16 } %struct.rec = type { %struct.head_type } -define void @FontChange(i1 %foo) { +define void @FontChange(i1 %foo) nounwind { entry: br i1 %foo, label %bb298, label %bb49 bb49: ; preds = %entry diff --git a/test/CodeGen/X86/stack-color-with-reg.ll b/test/CodeGen/X86/stack-color-with-reg.ll index 74326a3..4e277c7 100644 --- a/test/CodeGen/X86/stack-color-with-reg.ll +++ b/test/CodeGen/X86/stack-color-with-reg.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin10 -relocation-model=pic -disable-fp-elim -color-ss-with-regs -stats -info-output-file - > %t ; RUN: grep stackcoloring %t | grep "loads eliminated" ; RUN: grep stackcoloring %t | grep "stack slot refs replaced with reg refs" | grep 5 -; RUN: grep asm-printer %t | grep 176 +; RUN: grep asm-printer %t | grep 175 type { [62 x %struct.Bitvec*] } ; type %0 type { i8* } ; type %1 |