[llvm] r206075 - [RegAllocGreedy][Last Chance Recoloring] Change the name of the exhaustive search option.

Quentin Colombet qcolombet at apple.com
Fri Apr 11 14:51:09 PDT 2014


Author: qcolombet
Date: Fri Apr 11 16:51:09 2014
New Revision: 206075

URL: http://llvm.org/viewvc/llvm-project?rev=206075&view=rev
Log:
[RegAllocGreedy][Last Chance Recoloring] Change the name of the exhaustive search option.
fexhaustive-register-search => exhaustive-register-search
'f' is a Clang thing!

This is related to PR18747.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp
    llvm/trunk/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll

Modified: llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp?rev=206075&r1=206074&r2=206075&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp Fri Apr 11 16:51:09 2014
@@ -74,7 +74,7 @@ static cl::opt<unsigned> LastChanceRecol
     cl::init(8));
 
 static cl::opt<bool>
-ExhaustiveSearch("fexhaustive-register-search", cl::NotHidden,
+ExhaustiveSearch("exhaustive-register-search", cl::NotHidden,
                  cl::desc("Exhaustive Search for registers bypassing the depth "
                           "and interference cutoffs of last chance recoloring"));
 

Modified: llvm/trunk/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll?rev=206075&r1=206074&r2=206075&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll (original)
+++ llvm/trunk/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll Fri Apr 11 16:51:09 2014
@@ -8,9 +8,9 @@
 ; RUN: not llc -regalloc=greedy -relocation-model=pic -lcr-max-interf=1  < %s 2>&1 | FileCheck %s --check-prefix=CHECK-INTERF
 ; Test whether failure due to cutoff for interference is reported
 
-; RUN: llc -regalloc=greedy -relocation-model=pic -lcr-max-interf=1 -lcr-max-depth=0 -fexhaustive-register-search < %s > %t 2>&1
+; RUN: llc -regalloc=greedy -relocation-model=pic -lcr-max-interf=1 -lcr-max-depth=0 -exhaustive-register-search < %s > %t 2>&1
 ; RUN: FileCheck --input-file=%t %s --check-prefix=CHECK-EXHAUSTIVE
-; Test whether fexhaustive-register-search can bypass the depth and interference cutoffs of last chance recoloring 
+; Test whether exhaustive-register-search can bypass the depth and interference cutoffs of last chance recoloring 
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"
 target triple = "i386-apple-macosx"





More information about the llvm-commits mailing list