]> granicus.if.org Git - llvm/commit
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)
commit3715084d478e1958c20fb8037188454652c1a63e
tree591eaebb62062ace1f1963819c3ee05ceffc0444
parentcf3794498e7a4f04fbc67ddbedf2c2360bc38aca
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213867 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp