diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-18 02:10:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-18 02:10:10 +0000 |
commit | 5248468473f0488a652b545ad95f7abda302b7b5 (patch) | |
tree | 583776ba772213cb63a15d432dc8e7acffee06cb /test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll | |
parent | 5a206ee7edbd6eccc45f03054dad7a8b2eaf975b (diff) | |
download | external_llvm-5248468473f0488a652b545ad95f7abda302b7b5.zip external_llvm-5248468473f0488a652b545ad95f7abda302b7b5.tar.gz external_llvm-5248468473f0488a652b545ad95f7abda302b7b5.tar.bz2 |
Enable cross register class coalescing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll')
-rw-r--r-- | test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll b/test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll index b5635b3..bec43f0 100644 --- a/test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll +++ b/test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll @@ -1,4 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep movl | count 1 +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep movl | count 2 +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | not grep movb %struct.double_int = type { i64, i64 } %struct.tree_common = type <{ i8, [3 x i8] }> @@ -6,7 +7,7 @@ %struct.tree_node = type { %struct.tree_int_cst } @tree_code_type = external constant [0 x i32] ; <[0 x i32]*> [#uses=1] -define i32 @simple_cst_equal(%struct.tree_node* %t1, %struct.tree_node* %t2) { +define i32 @simple_cst_equal(%struct.tree_node* %t1, %struct.tree_node* %t2) nounwind { entry: %tmp2526 = bitcast %struct.tree_node* %t1 to i32* ; <i32*> [#uses=1] br i1 false, label %UnifiedReturnBlock, label %bb21 |