[FastISel][AArch64] Also allow folding of sign-/zero-extend and arithmetic
authorChad Rosier <mcrosier@codeaurora.org>
Tue, 18 Nov 2014 22:41:49 +0000 (22:41 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Tue, 18 Nov 2014 22:41:49 +0000 (22:41 +0000)
commitc2508818385b19d5a403db1ae700c10e620807ab
treec845a561847befc99c79c0f1de3a1e8836dd685d
parentb0a1814ff3b5401f15af0ec55ca6e8582a4fd2be
[FastISel][AArch64] Also allow folding of sign-/zero-extend and arithmetic
shift-right for booleans (i1).

Arithmetic 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: 222272
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/test/CodeGen/AArch64/fast-isel-shift.ll