[llvm] [FunctionLoweringInfo] Remove unnecesary check for isVectorTy after isIntegerTy. NFC (PR #171880)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 10:21:45 PST 2025


================
@@ -442,7 +442,7 @@ FunctionLoweringInfo::GetLiveOutRegInfo(Register Reg, unsigned BitWidth) {
 /// register based on the LiveOutInfo of its operands.
 void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) {
   Type *Ty = PN->getType();
-  if (!Ty->isIntegerTy() || Ty->isVectorTy())
+  if (!Ty->isIntegerTy())
----------------
arsenm wrote:

Maybe it meant isIntOrIntVectorTy?

https://github.com/llvm/llvm-project/pull/171880


More information about the llvm-commits mailing list