AArch64: Simplify logic in deciding whether bfi is valid
authorTim Northover <Tim.Northover@arm.com>
Mon, 11 Feb 2013 12:32:18 +0000 (12:32 +0000)
committerTim Northover <Tim.Northover@arm.com>
Mon, 11 Feb 2013 12:32:18 +0000 (12:32 +0000)
commit77b1c9cf57849b3f9a4e8bae47cd5954d20a7e11
tree078bb96122ebe10ecbb57407697279441f900ef1
parentb05dc5546062f29bf08837db8f680879aa1c14cf
AArch64: Simplify logic in deciding whether bfi is valid

Previous code had a confusing comment which was mostly an implementation
detail. This condition corresponds to "lsb up to register width" and "width not
ridiculous".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174877 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp