GlobalISel: select small binary operations on AArch64.
authorTim Northover <tnorthover@apple.com>
Tue, 18 Oct 2016 20:03:48 +0000 (20:03 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 18 Oct 2016 20:03:48 +0000 (20:03 +0000)
commit55782222c0500de1dea1aeee40e1fdf31dc853eb
tree0ffeedf67baf97c57caeba2c375d3bb38744ce39
parent3f18603c522c80b67db57a42bda01c6525d1acc2
GlobalISel: select small binary operations on AArch64.

AArch64 actually supports many 8-bit operations under the definition used by
GlobalISel: the designated information-carrying bits of a GPR32 get the right
value if you just use the normal 32-bit instruction.

llvm-svn: 284526
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-instructionselect.mir