1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[LV] Fold single-use variable into assert. NFC.

This commit is contained in:
Benjamin Kramer 2021-02-19 18:11:39 +01:00
parent 92fca6922a
commit ba5cce52d3

View File

@ -298,8 +298,8 @@ void VPBasicBlock::execute(VPTransformState *State) {
VPValue *CBV;
if (EnableVPlanNativePath && (CBV = getCondBit())) {
Value *IRCBV = CBV->getUnderlyingValue();
assert(IRCBV && "Unexpected null underlying value for condition bit");
assert(CBV->getUnderlyingValue() &&
"Unexpected null underlying value for condition bit");
// Condition bit value in a VPBasicBlock is used as the branch selector. In
// the VPlan-native path case, since all branches are uniform we generate a