summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIISelLowering.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-12-10 02:12:53 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-12-10 02:12:53 +0000
commitb3c3bda512712feb662ae03758dfb6fc0c05fe20 (patch)
treec71075afd09a3c92bdef3a1df6efc96d4350b8c8 /llvm/lib/Target/AMDGPU/SIISelLowering.h
parent60bddf17c5f76d09ae5e1250130d6f494af248b2 (diff)
downloadbcm5719-llvm-b3c3bda512712feb662ae03758dfb6fc0c05fe20.tar.gz
bcm5719-llvm-b3c3bda512712feb662ae03758dfb6fc0c05fe20.zip
AMDGPU/SI: Add support for sgpr and vgpr inline assembly constraints
Summary: The 's' constraint represents sgprs and the 'v' constraint represents vgprs. Reviewers: arsenm, echristo Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15342 llvm-svn: 255203
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIISelLowering.h')
-rw-r--r--llvm/lib/Target/AMDGPU/SIISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.h b/llvm/lib/Target/AMDGPU/SIISelLowering.h
index b9f75cd11de..4079be65d28 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.h
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.h
@@ -121,6 +121,7 @@ public:
std::pair<unsigned, const TargetRegisterClass *>
getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
StringRef Constraint, MVT VT) const override;
+ ConstraintType getConstraintType(StringRef Constraint) const override;
SDValue copyToM0(SelectionDAG &DAG, SDValue Chain, SDLoc DL, SDValue V) const;
};
OpenPOWER on IntegriCloud