mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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
0eff36e127
commit
06126ed084
@ -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
Block a user