]> granicus.if.org Git - llvm/commitdiff
[nvptx] Only support the 'm' inline assembly memory constraint. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 9 Jun 2015 10:34:05 +0000 (10:34 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 9 Jun 2015 10:34:05 +0000 (10:34 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239395 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/NVPTX/NVPTXISelLowering.h

index efa27750c2e159de16875c560ea4843fece8de88..ed94775b3002f9e0020d16ab9593b61eec99ede2 100644 (file)
@@ -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