[llvm] r235003 - [msp430] Only support the 'm' inline assembly memory constraint. NFC.
Daniel Sanders
daniel.sanders at imgtec.com
Wed Apr 15 05:51:28 PDT 2015
Author: dsanders
Date: Wed Apr 15 07:51:28 2015
New Revision: 235003
URL: http://llvm.org/viewvc/llvm-project?rev=235003&view=rev
Log:
[msp430] Only support the 'm' inline assembly memory constraint. NFC.
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
Modified:
llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h?rev=235003&r1=235002&r2=235003&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h Wed Apr 15 07:51:28 2015
@@ -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.
More information about the llvm-commits
mailing list