Skip to content

Commit 98a8072

Browse files
authored
[FunctionLoweringInfo] Remove unnecesary check for isVectorTy when isIntegerTy is true. NFC (llvm#171880)
isIntegerTy is only true for scalars.
1 parent 71ee84a commit 98a8072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ FunctionLoweringInfo::GetLiveOutRegInfo(Register Reg, unsigned BitWidth) {
442442
/// register based on the LiveOutInfo of its operands.
443443
void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) {
444444
Type *Ty = PN->getType();
445-
if (!Ty->isIntegerTy() || Ty->isVectorTy())
445+
if (!Ty->isIntegerTy())
446446
return;
447447

448448
SmallVector<EVT, 1> ValueVTs;

0 commit comments

Comments
 (0)