Skip to content

Commit

Permalink
Uncomment LLVM_FALLTHROUGH.
Browse files Browse the repository at this point in the history
llvm-svn: 360798
  • Loading branch information
petecoup committed May 15, 2019
1 parent a4d29b8 commit 1ca0499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARC/ARCOptAddrMode.cpp
Expand Up @@ -124,7 +124,7 @@ static bool isAddConstantOp(const MachineInstr &MI, int64_t &Amount) {
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();
Expand Down

0 comments on commit 1ca0499

Please sign in to comment.