forked from OSchip/llvm-project
[GISel] Simplifying return from else in function. NFC
Forgot to integrate this little change in previous commit llvm-svn: 374463
This commit is contained in:
parent
6cff8648cc
commit
a064edf55e
|
@ -238,9 +238,8 @@ Optional<ValueAndVReg> llvm::getConstantVRegValWithLookThrough(
|
|||
assert(Val.getBitWidth() == BitWidth &&
|
||||
"Value bitwidth doesn't match definition type");
|
||||
return Val;
|
||||
} else {
|
||||
return CstVal.getFPImm()->getValueAPF().bitcastToAPInt();
|
||||
}
|
||||
return CstVal.getFPImm()->getValueAPF().bitcastToAPInt();
|
||||
};
|
||||
while ((MI = MRI.getVRegDef(VReg)) && !IsConstantOpcode(MI->getOpcode()) &&
|
||||
LookThroughInstrs) {
|
||||
|
|
Loading…
Reference in New Issue