diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-09 10:34:05 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-09 10:34:05 +0000 |
| commit | 329fc9b68a6bb2ba2acb74744b17b4ba264bef42 (patch) | |
| tree | 8f1071f10c2c0f18e7a25be2a159b55ef1e9facf /llvm | |
| parent | 0e179ae7b72157a6b70c31f1a8156a9ebc46089d (diff) | |
| download | bcm5719-llvm-329fc9b68a6bb2ba2acb74744b17b4ba264bef42.tar.gz bcm5719-llvm-329fc9b68a6bb2ba2acb74744b17b4ba264bef42.zip | |
[nvptx] Only support the 'm' inline assembly memory constraint. NFC.
Summary:
NVPTX doesn't seem to support any additional constraints. Therefore remove
the target hook.
No functional change intended.
Reviewers: jholewinski
Reviewed By: jholewinski
Subscribers: jholewinski, llvm-commits
Differential Revision: http://reviews.llvm.org/D8209
llvm-svn: 239395
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXISelLowering.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.h b/llvm/lib/Target/NVPTX/NVPTXISelLowering.h index efa27750c2e..ed94775b300 100644 --- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.h +++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.h @@ -498,12 +498,6 @@ public: std::vector<SDValue> &Ops, SelectionDAG &DAG) const override; - unsigned getInlineAsmMemConstraint( - const std::string &ConstraintCode) const override { - // FIXME: Map different constraints differently. - return InlineAsm::Constraint_m; - } - const NVPTXTargetMachine *nvTM; // PTX always uses 32-bit shift amounts |

