Propagate DAG node ordering during type legalization and instruction selection
authorJustin Holewinski <jholewinski@nvidia.com>
Wed, 20 Mar 2013 00:10:32 +0000 (00:10 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Wed, 20 Mar 2013 00:10:32 +0000 (00:10 +0000)
commitd068943809f09a96e6bb2885e40c5651c8b3447c
treea79b052e1827b868c8101936e0f1d1a281ea97af
parent761b5cf0875ffb83b99be3c7c7d19e44732f6a34
Propagate DAG node ordering during type legalization and instruction selection

A node's ordering is only propagated during legalization if (a) the new node does
not have an ordering (is not a CSE'd node), or (b) the new node has an ordering
that is higher than the node being legalized.

llvm-svn: 177465
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/test/CodeGen/NVPTX/sched1.ll [new file with mode: 0644]
llvm/test/CodeGen/NVPTX/sched2.ll [new file with mode: 0644]
llvm/test/CodeGen/NVPTX/vector-loads.ll
llvm/test/CodeGen/X86/win_ftol2.ll