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

Daniel Sanders daniel.sanders at imgtec.com
Wed Apr 15 05:54:36 PDT 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8208

Files:
  llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h

Index: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
===================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
+++ llvm/trunk/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.23766.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150415/01316e09/attachment.bin>


More information about the llvm-commits mailing list