[NVPTX] Annotate call machine instructions as calls.
authorJustin Lebar <jlebar@google.com>
Wed, 17 Feb 2016 17:46:50 +0000 (17:46 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 17 Feb 2016 17:46:50 +0000 (17:46 +0000)
commitd596ec93ce51624e514225d9e85bb14e25d8d5a0
tree41e292f9a47f0eb6f286aff30e453bef0cb33cf5
parentd3bcdd58f7b128bc0a78e9234a23aeeb0028795a
[NVPTX] Annotate call machine instructions as calls.

Summary:
Otherwise we'll try to do unsafe optimizations on these MIs, such as
sinking loads below calls.

(I suspect that this is not the only bug in the NVPTX instruction
tablegen files; I need to comb through them.)

Reviewers: jholewinski, tra

Subscribers: jingyue, jhen, llvm-commits

Differential Revision: http://reviews.llvm.org/D17315

llvm-svn: 261113
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/test/CodeGen/NVPTX/MachineSink-call.ll [new file with mode: 0644]