[msp430] Only support the 'm' inline assembly memory constraint. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 15 Apr 2015 12:51:28 +0000 (12:51 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 15 Apr 2015 12:51:28 +0000 (12:51 +0000)
Summary:
MSP430 doesn't seem to have any additional constraints. Therefore remove
the target hook.

No functional change intended.

Subscribers: llvm-commits

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

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

lib/Target/MSP430/MSP430ISelLowering.h

index 68868b6470c98c531f6aaea987299a32d6f104c8..9266c3b19df292296584eda2ce007eb497dcb921 100644 (file)
@@ -102,12 +102,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;
-    }
-
     /// isTruncateFree - Return true if it's free to truncate a value of type
     /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in
     /// register R15W to i8 by referencing its sub-register R15B.