[SDAGBuilder] Make the AArch64 builder happier.
authorJames Molloy <james.molloy@arm.com>
Fri, 15 May 2015 17:41:29 +0000 (17:41 +0000)
committerJames Molloy <james.molloy@arm.com>
Fri, 15 May 2015 17:41:29 +0000 (17:41 +0000)
commit7363a8bcdd1f4975e8afab29b307d9d2a329c98c
treed5958ec6e66c614a95305f89ec2aa9869a1642d1
parentef0b6c4b1e6d9f51407c10dd2a77fb010797810e
[SDAGBuilder] Make the AArch64 builder happier.

I intended this loop to only unwrap SplitVector actions, but it
was more broad than that, such as unwrapping WidenVector actions,
which makes operations seem legal when they're not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237457 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp