[llvm] r351785 - [RISCV][NFC] Add break to case statement in RISCVDAGToDAGISel::Select
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 21 23:22:00 PST 2019
Author: asb
Date: Mon Jan 21 23:22:00 2019
New Revision: 351785
URL: http://llvm.org/viewvc/llvm-project?rev=351785&view=rev
Log:
[RISCV][NFC] Add break to case statement in RISCVDAGToDAGISel::Select
The break isn't strictly needed yet as there is no subsequent entry in the
case. But adding to prevent mistakes further down the road.
Modified:
llvm/trunk/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/RISCVISelDAGToDAG.cpp?rev=351785&r1=351784&r2=351785&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/RISCVISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/RISCVISelDAGToDAG.cpp Mon Jan 21 23:22:00 2019
@@ -155,6 +155,7 @@ void RISCVDAGToDAGISel::Select(SDNode *N
return;
}
}
+ break;
}
}
More information about the llvm-commits
mailing list