AArch64: refactor ReconstructShuffle function
authorTim Northover <tnorthover@apple.com>
Thu, 24 Jul 2014 15:39:55 +0000 (15:39 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 24 Jul 2014 15:39:55 +0000 (15:39 +0000)
commit7324e845a44fe010dc712feebba7b2c0c0715694
tree457e67490bd92abf776c476cd5a52fa62d501642
parent857fd660d8371f4a17b6a52828a9864f1d36cb3b
AArch64: refactor ReconstructShuffle function

Quite a bit of cruft had accumulated as we realised the various different cases
it had to handle and squeezed them in where possible. This refactoring mostly
flattens the logic and special-cases. The result is slightly longer, but I
think clearer.

Should be no functionality change.

llvm-svn: 213867
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp