aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-01-29 02:21:21 +0000
committerDale Johannesen <dalej@apple.com>2008-01-29 02:21:21 +0000
commitba2a0b960ea4c73d0f81557f63ae2ea126e08905 (patch)
tree3ab167b8e5d8524ae45f40e970d4c772cbb73da2 /include
parentc840da14c61ef336a530af8811a7268fccf3bd75 (diff)
downloadexternal_llvm-ba2a0b960ea4c73d0f81557f63ae2ea126e08905.zip
external_llvm-ba2a0b960ea4c73d0f81557f63ae2ea126e08905.tar.gz
external_llvm-ba2a0b960ea4c73d0f81557f63ae2ea126e08905.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.h5
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.