OSDN Git Service

[xcore] Only support the 'm' inline assembly memory constraint. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 15 May 2015 12:32:16 +0000 (12:32 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 15 May 2015 12:32:16 +0000 (12:32 +0000)
Summary:
XCore doesn't seem to have any additional constraints. Therefore remove
the target hook.

No functional change intended.

Reviewers: friedgold

Reviewed By: friedgold

Subscribers: friedgold, llvm-commits

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

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

lib/Target/XCore/XCoreISelLowering.h

index 0032b05..22014ed 100644 (file)
@@ -177,12 +177,6 @@ namespace llvm {
                                  const std::string &Constraint,
                                  MVT VT) const override;
 
-    unsigned getInlineAsmMemConstraint(
-        const std::string &ConstraintCode) const override {
-      // FIXME: Map different constraints differently.
-      return InlineAsm::Constraint_m;
-    }
-
     // Expand specifics
     SDValue TryExpandADDWithMul(SDNode *Op, SelectionDAG &DAG) const;
     SDValue ExpandADDSUB(SDNode *Op, SelectionDAG &DAG) const;