Skip to content

Commit a233e7d

Browse files
author
Jinsong Ji
committed
[AArch64] Fix unannotated fall-through between switch labels
This is breaking buildbot with -Werror,-Wimplicit-fallthrough on. eg: http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/6881
1 parent 265ddc5 commit a233e7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ class AArch64DAGToDAGISel : public SelectionDAGISel {
153153
if (auto CN = dyn_cast<ConstantFPSDNode>(Opnd0))
154154
if (CN->isZero())
155155
return true;
156+
break;
156157
}
157158
default:
158159
break;

0 commit comments

Comments
 (0)