Resurrect r235688
authorJingyue Wu <jingyue@google.com>
Fri, 24 Apr 2015 04:22:39 +0000 (04:22 +0000)
committerJingyue Wu <jingyue@google.com>
Fri, 24 Apr 2015 04:22:39 +0000 (04:22 +0000)
commit728ad0157c573763d1a6f3f5eee20eb8b26b50fc
treeac64e756013cc1ed124d27774e9f8b9a6ec01508
parentf42450abb604c48d5ab1d617f65bc7457361e237
Resurrect r235688

We should skip vector types which are not SCEVable.

test/CodeGen/NVPTX/sched2.ll passes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235695 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXTargetMachine.cpp
lib/Transforms/Scalar/NaryReassociate.cpp
test/Transforms/NaryReassociate/NVPTX/lit.local.cfg [new file with mode: 0644]
test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll [new file with mode: 0644]