summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-04-09 19:09:14 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-04-09 19:09:14 +0000
commit2b4c96e7582ee5e31143006c626c6ad820825443 (patch)
tree63ac679c266a20f7251e22dfe1c7068f9206ab50 /llvm/lib/VMCore/Verifier.cpp
parent183b336a54d8eca9a067ec2e766737c0d79de581 (diff)
downloadbcm5719-llvm-2b4c96e7582ee5e31143006c626c6ad820825443.tar.gz
bcm5719-llvm-2b4c96e7582ee5e31143006c626c6ad820825443.zip
Reversed the order of the llvm.writeport() operands so that the value
is listed first and the address is listed second. llvm-svn: 12795
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r--llvm/lib/VMCore/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index 73192eb77f3..f40ffe0a13b 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -611,9 +611,9 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
case Intrinsic::writeport:
Assert1(FT->getNumParams() == 2,
"Illegal # arguments for intrinsic function!", IF);
- Assert1(FT->getParamType(0)->isUnsigned(),
+ Assert1(FT->getParamType(0)->isIntegral(),
"First argument not unsigned int!", IF);
- Assert1(FT->getParamType(1)->isIntegral(),
+ Assert1(FT->getParamType(1)->isUnsigned(),
"First argument not unsigned int!", IF);
NumArgs = 2;
break;
OpenPOWER on IntegriCloud