[llvm] 5c33a81 - [AArch64][SVE] Fix -Wimplicit-fallthrough after D73711
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 21 13:46:45 PST 2020
Author: Fangrui Song
Date: 2020-02-21T13:46:33-08:00
New Revision: 5c33a81b7a46373aa695ab676bec8b70b1abd0e2
URL: https://github.com/llvm/llvm-project/commit/5c33a81b7a46373aa695ab676bec8b70b1abd0e2
DIFF: https://github.com/llvm/llvm-project/commit/5c33a81b7a46373aa695ab676bec8b70b1abd0e2.diff
LOG: [AArch64][SVE] Fix -Wimplicit-fallthrough after D73711
Added:
Modified:
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
index 063a654ef869..43ddd975a9cb 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
@@ -173,10 +173,9 @@ class AArch64DAGToDAGISel : public SelectionDAGISel {
if (auto CN = dyn_cast<ConstantFPSDNode>(Opnd0))
if (CN->isZero())
return true;
- }
- default:
break;
}
+ }
return false;
}
More information about the llvm-commits
mailing list