mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
[nvptx] Only support the 'm' inline assembly memory constraint. NFC.
Summary: NVPTX doesn't seem to support any additional constraints. Therefore remove the target hook. No functional change intended. Reviewers: jholewinski Reviewed By: jholewinski Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D8209 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -498,12 +498,6 @@ public:
|
|||||||
std::vector<SDValue> &Ops,
|
std::vector<SDValue> &Ops,
|
||||||
SelectionDAG &DAG) const override;
|
SelectionDAG &DAG) const override;
|
||||||
|
|
||||||
unsigned getInlineAsmMemConstraint(
|
|
||||||
const std::string &ConstraintCode) const override {
|
|
||||||
// FIXME: Map different constraints differently.
|
|
||||||
return InlineAsm::Constraint_m;
|
|
||||||
}
|
|
||||||
|
|
||||||
const NVPTXTargetMachine *nvTM;
|
const NVPTXTargetMachine *nvTM;
|
||||||
|
|
||||||
// PTX always uses 32-bit shift amounts
|
// PTX always uses 32-bit shift amounts
|
||||||
|
Reference in New Issue
Block a user