Skip to content

Commit 42c110b

Browse files
committed
!fixup use else if
1 parent 36ec2f5 commit 42c110b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,9 +1063,9 @@ class LowerMatrixIntrinsics {
10631063
Value *Op2;
10641064
if (auto *BinOp = dyn_cast<BinaryOperator>(Inst))
10651065
VisitBinaryOperator(BinOp);
1066-
if (auto *UnOp = dyn_cast<UnaryOperator>(Inst))
1066+
else if (auto *UnOp = dyn_cast<UnaryOperator>(Inst))
10671067
VisitUnaryOperator(UnOp);
1068-
if (match(Inst, m_Load(m_Value(Op1))))
1068+
else if (match(Inst, m_Load(m_Value(Op1))))
10691069
VisitLoad(cast<LoadInst>(Inst), Op1, Builder);
10701070
else if (match(Inst, m_Store(m_Value(Op1), m_Value(Op2))))
10711071
VisitStore(cast<StoreInst>(Inst), Op1, Op2, Builder);

0 commit comments

Comments
 (0)