ptx: fix parameter ordering
authorChe-Liang Chiou <clchiou@gmail.com>
Thu, 21 Apr 2011 10:56:58 +0000 (10:56 +0000)
committerChe-Liang Chiou <clchiou@gmail.com>
Thu, 21 Apr 2011 10:56:58 +0000 (10:56 +0000)
commit5efde18dd25bc08fb6ea4ef5181040eb32e46d38
tree705dab17c9ac1467006fbeec463480f5a1d58ffd
parent4a17cad900ddb7022d32d6469b31ec762049d822
ptx: fix parameter ordering

This patch depends on the prior fix r129908 that changes to use std::find,
rather than std::binary_search, on unordered array.

Patch by Dan Bailey

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PTX/PTXMachineFunctionInfo.h
test/CodeGen/PTX/parameter-order.ll