[llvm] r360798 - Uncomment LLVM_FALLTHROUGH.
Pete Couperus via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 12:46:17 PDT 2019
Author: petecoup
Date: Wed May 15 12:46:17 2019
New Revision: 360798
URL: http://llvm.org/viewvc/llvm-project?rev=360798&view=rev
Log:
Uncomment LLVM_FALLTHROUGH.
Modified:
llvm/trunk/lib/Target/ARC/ARCOptAddrMode.cpp
Modified: llvm/trunk/lib/Target/ARC/ARCOptAddrMode.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARC/ARCOptAddrMode.cpp?rev=360798&r1=360797&r2=360798&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARC/ARCOptAddrMode.cpp (original)
+++ llvm/trunk/lib/Target/ARC/ARCOptAddrMode.cpp Wed May 15 12:46:17 2019
@@ -124,7 +124,7 @@ static bool isAddConstantOp(const Machin
switch (MI.getOpcode()) {
case ARC::SUB_rru6:
Sign = -1;
- // LLVM_FALLTHROUGH
+ LLVM_FALLTHROUGH;
case ARC::ADD_rru6:
assert(MI.getOperand(2).isImm() && "Expected immediate operand");
Amount = Sign * MI.getOperand(2).getImm();
More information about the llvm-commits
mailing list