diff options
author | Dale Johannesen <dalej@apple.com> | 2008-01-29 02:21:21 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-01-29 02:21:21 +0000 |
commit | e99fc909ce61423c2e27314675708a323e897d57 (patch) | |
tree | 3ab167b8e5d8524ae45f40e970d4c772cbb73da2 /include | |
parent | 0e4d4ee707d106288008353e945221a4dcfa166b (diff) | |
download | external_llvm-e99fc909ce61423c2e27314675708a323e897d57.zip external_llvm-e99fc909ce61423c2e27314675708a323e897d57.tar.gz external_llvm-e99fc909ce61423c2e27314675708a323e897d57.tar.bz2 |
Handle 'X' constraint in asm's better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 003892e..40b4552 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1006,6 +1006,11 @@ public: getRegForInlineAsmConstraint(const std::string &Constraint, MVT::ValueType 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 + /// corresponding operand. + virtual void lowerXConstraint(MVT::ValueType ConstraintVT, + std::string&) const; /// LowerAsmOperandForConstraint - Lower the specified operand into the Ops /// vector. If it is invalid, don't add anything to Ops. |