[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Reid Spencer
reid at x10sys.com
Sat Aug 21 09:11:13 PDT 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.199 -> 1.200
---
Log message:
Examine the type code in the setcc class of instructions and if it
is a PackedType, throw an error. Temporary solution.
Patch contributed by Brad Jones.
---
Diffs of the changes: (+4 -0)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.199 llvm/lib/AsmParser/llvmAsmParser.y:1.200
--- llvm/lib/AsmParser/llvmAsmParser.y:1.199 Fri Aug 20 13:07:39 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Sat Aug 21 11:11:02 2004
@@ -1934,6 +1934,10 @@
delete $2;
}
| SetCondOps Types ValueRef ',' ValueRef {
+ if(isa<PackedType>((*$2).get())) {
+ ThrowException(
+ "PackedTypes currently not supported in setcc instructions!");
+ }
$$ = new SetCondInst($1, getVal(*$2, $3), getVal(*$2, $5));
if ($$ == 0)
ThrowException("binary operator returned null!");
More information about the llvm-commits
mailing list