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

Daniel Sanders daniel.sanders at imgtec.com
Tue Mar 10 09:53:51 PDT 2015


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

No functional change intended. Depends on D8173.

http://reviews.llvm.org/D8208

Files:
  lib/Target/MSP430/MSP430ISelLowering.h

Index: lib/Target/MSP430/MSP430ISelLowering.h
===================================================================
--- lib/Target/MSP430/MSP430ISelLowering.h
+++ lib/Target/MSP430/MSP430ISelLowering.h
@@ -102,12 +102,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;
-    }
-
     /// 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.

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8208.21596.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150310/a5d92e2a/attachment.bin>


More information about the llvm-commits mailing list