summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-06-02 23:16:42 +0000
committerEric Christopher <echristo@apple.com>2011-06-02 23:16:42 +0000
commitde9399bf7656346d25ebbfad7bcbddc8ec1f378e (patch)
tree629ab3e178efe7ecb9d8f31080091bf7e7763454 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent60cdf8e72712b5e9c48cd7e48d4e42cc5d3e8c9d (diff)
downloadbcm5719-llvm-de9399bf7656346d25ebbfad7bcbddc8ec1f378e.tar.gz
bcm5719-llvm-de9399bf7656346d25ebbfad7bcbddc8ec1f378e.zip
Have LowerOperandForConstraint handle multiple character constraints.
Part of rdar://9119939 llvm-svn: 132510
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 9a656a7c83a..6da80dbd6a0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -5936,7 +5936,7 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
if (OpInfo.ConstraintType == TargetLowering::C_Other) {
std::vector<SDValue> Ops;
- TLI.LowerAsmOperandForConstraint(InOperandVal, OpInfo.ConstraintCode[0],
+ TLI.LowerAsmOperandForConstraint(InOperandVal, OpInfo.ConstraintCode,
Ops, DAG);
if (Ops.empty())
report_fatal_error("Invalid operand for inline asm constraint '" +
OpenPOWER on IntegriCloud