From 8919aa508de98c50e32e4ae94daa968c2aa8ddb1 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Thu, 27 Sep 2012 21:06:02 +0000 Subject: [PATCH] Enable the new coalescer algorithm by default. The new coalescer is better at merging values into unused vector lanes, improving NEON code. llvm-svn: 164794 --- llvm/lib/CodeGen/RegisterCoalescer.cpp | 2 +- llvm/test/CodeGen/ARM/reg_sequence.ll | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index dd0f548..eb4ffe1 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -70,7 +70,7 @@ VerifyCoalescing("verify-coalescing", // Temporary option for testing new coalescer algo. static cl::opt -NewCoalescer("new-coalescer", cl::Hidden, +NewCoalescer("new-coalescer", cl::Hidden, cl::init(true), cl::desc("Use new coalescer algorithm")); namespace { diff --git a/llvm/test/CodeGen/ARM/reg_sequence.ll b/llvm/test/CodeGen/ARM/reg_sequence.ll index 206b96c..6d6586e 100644 --- a/llvm/test/CodeGen/ARM/reg_sequence.ll +++ b/llvm/test/CodeGen/ARM/reg_sequence.ll @@ -124,7 +124,6 @@ return1: return2: ; CHECK: %return2 ; CHECK: vadd.i32 -; CHECK: vorr {{q[0-9]+}}, {{q[0-9]+}} ; CHECK-NOT: vmov ; CHECK: vst2.32 {d{{[0-9]+}}, d{{[0-9]+}}, d{{[0-9]+}}, d{{[0-9]+}}} %tmp100 = extractvalue %struct.__neon_int32x4x2_t %tmp2, 0 ; <<4 x i32>> [#uses=1] -- 2.7.4