From 5248468473f0488a652b545ad95f7abda302b7b5 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 18 Jul 2009 02:10:10 +0000 Subject: Enable cross register class coalescing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76281 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll') 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* ; [#uses=1] br i1 false, label %UnifiedReturnBlock, label %bb21 -- cgit v1.1