summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-28 04:05:59 +0000
committerChris Lattner <sabre@nondot.org>2007-04-28 04:05:59 +0000
commit4df3e8093b3879be9132bf6e01f14e0761e5b72b (patch)
treec77c45d4627e03fe7f6fc352732cf6323d41a3e6 /llvm/lib
parentc753800800ad37d9e589794bc7e0b4001b0aa04d (diff)
downloadbcm5719-llvm-4df3e8093b3879be9132bf6e01f14e0761e5b72b.tar.gz
bcm5719-llvm-4df3e8093b3879be9132bf6e01f14e0761e5b72b.zip
Fix this to match change to InlineAsm class.
llvm-svn: 36524
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index ac3eedfa3a1..4e57a7b36aa 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -3209,7 +3209,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
// Compute the value type for each operand and add it to ConstraintVTs.
switch (Constraints[i].Type) {
case InlineAsm::isOutput:
- if (!Constraints[i].isIndirectOutput) {
+ if (!Constraints[i].isIndirect) {
assert(I.getType() != Type::VoidTy && "Bad inline asm!");
OpVT = TLI.getValueType(I.getType());
} else {
@@ -3283,7 +3283,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
if (!MVT::isInteger(InOperandVal.getValueType()))
assert(0 && "MATCH FAIL!");
- if (!Constraints[i].isIndirectOutput)
+ if (!Constraints[i].isIndirect)
assert(0 && "MATCH FAIL!");
OpNum++; // Consumes a call operand.
@@ -3324,7 +3324,7 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
exit(1);
}
- if (!Constraints[i].isIndirectOutput) {
+ if (!Constraints[i].isIndirect) {
assert(RetValRegs.Regs.empty() &&
"Cannot have multiple output constraints yet!");
assert(I.getType() != Type::VoidTy && "Bad inline asm!");
OpenPOWER on IntegriCloud