[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)
commit32dc2de667174727c8642e2366ebede9ad8bf568
tree370a492b877f84ff854956fce6f8b917635905b1
parent5e3288f85b2ae2ee6f18f9ffef6156d3bcb17b5c
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222272 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-shift.ll