summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-11-09 01:15:07 +0000
committerDale Johannesen <dalej@apple.com>2010-11-09 01:15:07 +0000
commitf11ea9ce618c6a0407431c2f88abbc6dc34bbc90 (patch)
treed31e883598528b8504d69926b0d17d0d072288c6 /llvm/lib/CodeGen
parent7b0c25faf6f9bda89151dd1071c99886824020ec (diff)
downloadbcm5719-llvm-f11ea9ce618c6a0407431c2f88abbc6dc34bbc90.tar.gz
bcm5719-llvm-f11ea9ce618c6a0407431c2f88abbc6dc34bbc90.zip
Fix an inline asm pasto from 117667; was preventing
{i64, i64} from matching i128. llvm-svn: 118465
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 1c9fcc12933..603e7e4891f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2738,7 +2738,8 @@ TargetLowering::AsmOperandInfoVector TargetLowering::ParseConstraints(
case 32:
case 64:
case 128:
- OpTy = IntegerType::get(OpTy->getContext(), BitSize);
+ OpInfo.ConstraintVT =
+ EVT::getEVT(IntegerType::get(OpTy->getContext(), BitSize), true);
break;
}
} else if (dyn_cast<PointerType>(OpTy)) {
OpenPOWER on IntegriCloud