[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Reid Spencer
reid at x10sys.com
Wed Apr 11 19:49:08 PDT 2007
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.201 -> 1.202
---
Log message:
For PR1284: http://llvm.org/PR1284 :
Implement the "part_set" intrinsic.
---
Diffs of the changes: (+3 -2)
Verifier.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.201 llvm/lib/VMCore/Verifier.cpp:1.202
--- llvm/lib/VMCore/Verifier.cpp:1.201 Mon Apr 9 22:18:19 2007
+++ llvm/lib/VMCore/Verifier.cpp Wed Apr 11 21:48:46 2007
@@ -1028,13 +1028,14 @@
if (GotBits < 16 || GotBits % 16 != 0)
CheckFailed("Intrinsic requires even byte width argument", F);
/* FALL THROUGH */
+ case Intrinsic::part_set:
case Intrinsic::part_select:
if (ArgNo == 1) {
unsigned ResultBits =
cast<IntegerType>(FTy->getReturnType())->getBitWidth();
if (GotBits != ResultBits)
- CheckFailed("Intrinsic requires parameter and result bit "
- "widths to match", F);
+ CheckFailed("Intrinsic requires the bit widths of the first "
+ "parameter and the result to match", F);
}
break;
}
More information about the llvm-commits
mailing list