summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2019-01-22 07:22:00 +0000
committerAlex Bradbury <asb@lowrisc.org>2019-01-22 07:22:00 +0000
commit1b9cd446f7eff70413477453cc9beed4a69ca45f (patch)
tree71f4f523ebe2bbdcb9b0cdfc2e54e4e7e8dc61eb /llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
parentfa1e8d86ced125c62af339ba36c446980058c077 (diff)
downloadbcm5719-llvm-1b9cd446f7eff70413477453cc9beed4a69ca45f.tar.gz
bcm5719-llvm-1b9cd446f7eff70413477453cc9beed4a69ca45f.zip
[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. llvm-svn: 351785
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
index 600e2342468..4b455448b38 100644
--- a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
@@ -155,6 +155,7 @@ void RISCVDAGToDAGISel::Select(SDNode *Node) {
return;
}
}
+ break;
}
}
OpenPOWER on IntegriCloud