summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-04-11 21:51:09 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-04-11 21:51:09 +0000
commit4344da1c716ee5c469277f6bb1261616981c6bf9 (patch)
tree11199ad508814a8b28078f6fd71ba737778bc88e
parent567e30bc2be1965fb2aec7bbbc850fe22ab1c14e (diff)
downloadbcm5719-llvm-4344da1c716ee5c469277f6bb1261616981c6bf9.tar.gz
bcm5719-llvm-4344da1c716ee5c469277f6bb1261616981c6bf9.zip
[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. llvm-svn: 206075
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp2
-rw-r--r--llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 7a120e8802f..c4f98007da9 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -74,7 +74,7 @@ static cl::opt<unsigned> LastChanceRecoloringMaxInterference(
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"));
diff --git a/llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll b/llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll
index e21e2dd5df4..d8e45727b9d 100644
--- a/llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll
+++ b/llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll
@@ -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"
OpenPOWER on IntegriCloud