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)
commite2067788338f887024adc3df824252a03730147a
tree7a12ff3668465c4a66de7fa6ca885c37749ccbf7
parent257274e7543b5ac0ed517314c1549c7d3353e92d
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".

llvm-svn: 174877
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp