aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-06-22 18:37:38 +0000
committerChad Rosier <mcrosier@apple.com>2013-06-22 18:37:38 +0000
commit5b3fca50a08865f0db55fc92ad1c037a04e12177 (patch)
tree998e3b634ae4bbd2829c36ff98b0fa70e3cda198 /include/llvm
parent5729b8ea01739cf9b1171f0a4349275bc8124756 (diff)
downloadexternal_llvm-5b3fca50a08865f0db55fc92ad1c037a04e12177.zip
external_llvm-5b3fca50a08865f0db55fc92ad1c037a04e12177.tar.gz
external_llvm-5b3fca50a08865f0db55fc92ad1c037a04e12177.tar.bz2
The getRegForInlineAsmConstraint function should only accept MVT value types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 9483282..70b285e 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -2229,7 +2229,7 @@ public:
/// this returns a register number of 0 and a null register class pointer..
virtual std::pair<unsigned, const TargetRegisterClass*>
getRegForInlineAsmConstraint(const std::string &Constraint,
- EVT VT) const;
+ MVT VT) const;
/// LowerXConstraint - try to replace an X constraint, which matches anything,
/// with another that has more specific requirements based on the type of the