mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
Remove unnecessary set ahead of time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5d42c567c9
commit
f8476e6742
@ -784,12 +784,11 @@ bool ARMFastISel::SelectBranch(const Instruction *I) {
|
||||
unsigned CondReg = getRegForValue(Cond);
|
||||
if (CondReg == 0) return false;
|
||||
|
||||
ARMCC::CondCodes ARMPred = ARMCC::NE;
|
||||
CmpInst *CI = dyn_cast<CmpInst>(Cond);
|
||||
if (!CI) return false;
|
||||
|
||||
// Get the compare predicate.
|
||||
ARMPred = getComparePred(CI->getPredicate());
|
||||
ARMCC::CondCodes ARMPred = getComparePred(CI->getPredicate());
|
||||
|
||||
// We may not handle every CC for now.
|
||||
if (ARMPred == ARMCC::AL) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user