ARM: move llvm_unreachable use
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 30 Apr 2014 05:12:41 +0000 (05:12 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 30 Apr 2014 05:12:41 +0000 (05:12 +0000)
commit38bd5c4bf930364056fbae8ddfb6b3b32afc1765
treea9d662bb165705cf0c81416d68dfe913fbfdc3b2
parent745fff806db257b9a2eebc290df3f1cdf93a49dd
ARM: move llvm_unreachable use

When building with -Werror=covered-switch-default (as on the buildbots), the
build would fail since all cases are covered by the switch.  Move the
llvm_unreachable to the end of the function as an annotation.

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