Simplify switch statement in ARM subtarget align access
authorRenato Golin <renato.golin@linaro.org>
Wed, 8 Oct 2014 12:26:13 +0000 (12:26 +0000)
committerRenato Golin <renato.golin@linaro.org>
Wed, 8 Oct 2014 12:26:13 +0000 (12:26 +0000)
commit382839279008d88c7a8006a97b22b52f2ee0f693
tree3f28d0fddf42310d32f1a7fa5cba3ce2dbe1d049
parent5a2fda0ca1322158d6b4d9e840e86cfaf03a1dad
Simplify switch statement in ARM subtarget align access

This switch can be reduced to a simpler if/else statement.

Patch by Charlie Turner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp