[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)
commit5e3288f85b2ae2ee6f18f9ffef6156d3bcb17b5c
treeec84288d4535b9b87d024a3c19179f83e33107c6
parentd3635f07edf97c0e9959a3e49069d083fb50c399
[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.

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