[llvm] r232719 - [sparc] Only support the 'm' inline assembly memory constraint. NFC.
Daniel Sanders
daniel.sanders at imgtec.com
Thu Mar 19 04:26:06 PDT 2015
Author: dsanders
Date: Thu Mar 19 06:26:05 2015
New Revision: 232719
URL: http://llvm.org/viewvc/llvm-project?rev=232719&view=rev
Log:
[sparc] Only support the 'm' inline assembly memory constraint. NFC.
Summary:
SPARC doesn't seem to support any additional constraints. Therefore remove
the target hook.
No functional change intended.
Reviewers: venkatra
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D8214
Modified:
llvm/trunk/lib/Target/Sparc/SparcISelLowering.h
Modified: llvm/trunk/lib/Target/Sparc/SparcISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcISelLowering.h?rev=232719&r1=232718&r2=232719&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcISelLowering.h (original)
+++ llvm/trunk/lib/Target/Sparc/SparcISelLowering.h Thu Mar 19 06:26:05 2015
@@ -85,12 +85,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;
- }
-
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; }
More information about the llvm-commits
mailing list