[PATCH] [xcore] Only support the 'm' inline assembly memory constraint. NFC.

Daniel Sanders daniel.sanders at imgtec.com
Thu Apr 9 06:34:51 PDT 2015


XCore doesn't seem to have any additional constraints. Therefore remove
the target hook.

No functional change intended. Depends on D8173.

http://reviews.llvm.org/D8921

Files:
  lib/Target/XCore/XCoreISelLowering.h

Index: lib/Target/XCore/XCoreISelLowering.h
===================================================================
--- lib/Target/XCore/XCoreISelLowering.h
+++ lib/Target/XCore/XCoreISelLowering.h
@@ -177,12 +177,6 @@
                                  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;

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8921.23486.patch
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150409/94895f2f/attachment.bin>


More information about the llvm-commits mailing list