mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3baea2951d
commit
334291cfb6
@ -85,12 +85,6 @@ namespace llvm {
|
|||||||
const std::string &Constraint,
|
const std::string &Constraint,
|
||||||
MVT VT) const override;
|
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;
|
bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
|
||||||
MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; }
|
MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i32; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user