[FastISel][AArch64] Also allow folding of sign-/zero-extend and logical
authorChad Rosier <mcrosier@codeaurora.org>
Tue, 18 Nov 2014 22:38:42 +0000 (22:38 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Tue, 18 Nov 2014 22:38:42 +0000 (22:38 +0000)
commite16d16ae4182ee44d1cf2ac27566fdc7726528b5
treed8d8a464aa51d4469921f4fdfb36871c5024c6b1
parent917e952d2ddbb4de4a28d19920ca1bdd016e63ef
[FastISel][AArch64] Also allow folding of sign-/zero-extend and logical
shift-right for booleans (i1).

Logical shift-right immediate with sign-/zero-extensions also works for boolean
values.  Update the assert and the test cases to reflect that fact.

llvm-svn: 222270
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/test/CodeGen/AArch64/fast-isel-shift.ll