diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-06-27 05:18:21 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-06-27 05:18:21 +0000 |
commit | 9f62d8006ad8df2b0fb5274c83177c789f8d993d (patch) | |
tree | 67a9665dedbf9ed3d01daa2093503d736c34189f /llvm/lib/Target/X86/X86FastISel.cpp | |
parent | 28606954bfe08ab4fb146cc85f2d4c0aff5cf1c2 (diff) | |
download | bcm5719-llvm-9f62d8006ad8df2b0fb5274c83177c789f8d993d.tar.gz bcm5719-llvm-9f62d8006ad8df2b0fb5274c83177c789f8d993d.zip |
Rename getX86ConditonCode -> getX86ConditionCode
llvm-svn: 211869
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 5f849f0fdee..fd95c55d55b 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -205,7 +205,7 @@ static CmpInst::Predicate optimizeCmpPredicate(const CmpInst *CI) { } static std::pair<X86::CondCode, bool> -getX86ConditonCode(CmpInst::Predicate Predicate) { +getX86ConditionCode(CmpInst::Predicate Predicate) { X86::CondCode CC = X86::COND_INVALID; bool NeedSwap = false; switch (Predicate) { @@ -1259,7 +1259,7 @@ bool X86FastISel::X86SelectCmp(const Instruction *I) { X86::CondCode CC; bool SwapArgs; - std::tie(CC, SwapArgs) = getX86ConditonCode(Predicate); + std::tie(CC, SwapArgs) = getX86ConditionCode(Predicate); assert(CC <= X86::LAST_VALID_COND && "Unexpected conditon code."); unsigned Opc = X86::getSETFromCond(CC); @@ -1386,7 +1386,7 @@ bool X86FastISel::X86SelectBranch(const Instruction *I) { bool SwapArgs; unsigned BranchOpc; - std::tie(CC, SwapArgs) = getX86ConditonCode(Predicate); + std::tie(CC, SwapArgs) = getX86ConditionCode(Predicate); assert(CC <= X86::LAST_VALID_COND && "Unexpected conditon code."); BranchOpc = X86::GetCondBranchFromCond(CC); @@ -1771,7 +1771,7 @@ bool X86FastISel::X86FastEmitCMoveSelect(MVT RetVT, const Instruction *I) { } bool NeedSwap; - std::tie(CC, NeedSwap) = getX86ConditonCode(Predicate); + std::tie(CC, NeedSwap) = getX86ConditionCode(Predicate); assert(CC <= X86::LAST_VALID_COND && "Unexpected condition code."); const Value *CmpLHS = CI->getOperand(0); @@ -1954,7 +1954,7 @@ bool X86FastISel::X86FastEmitPseudoSelect(MVT RetVT, const Instruction *I) { const auto *CI = dyn_cast<CmpInst>(Cond); if (CI && (CI->getParent() == I->getParent())) { bool NeedSwap; - std::tie(CC, NeedSwap) = getX86ConditonCode(CI->getPredicate()); + std::tie(CC, NeedSwap) = getX86ConditionCode(CI->getPredicate()); if (CC > X86::LAST_VALID_COND) return false; |