mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4fdfdb882
commit
e68853be66
File diff suppressed because it is too large
Load Diff
@ -1602,7 +1602,8 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
|
|||||||
if (!UpRefs.empty())
|
if (!UpRefs.empty())
|
||||||
GEN_ERROR("Invalid upreference in type: " + (*$1)->getDescription());
|
GEN_ERROR("Invalid upreference in type: " + (*$1)->getDescription());
|
||||||
if ($1->get() != $2->getType())
|
if ($1->get() != $2->getType())
|
||||||
GEN_ERROR("Mismatched types for constant expression!");
|
GEN_ERROR("Mismatched types for constant expression: " +
|
||||||
|
(*$1)->getDescription() + " and " + $2->getType()->getDescription());
|
||||||
$$ = $2;
|
$$ = $2;
|
||||||
delete $1;
|
delete $1;
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
@ -2548,8 +2549,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
|||||||
| ICMP IPredicates Types ValueRef ',' ValueRef {
|
| ICMP IPredicates Types ValueRef ',' ValueRef {
|
||||||
if (!UpRefs.empty())
|
if (!UpRefs.empty())
|
||||||
GEN_ERROR("Invalid upreference in type: " + (*$3)->getDescription());
|
GEN_ERROR("Invalid upreference in type: " + (*$3)->getDescription());
|
||||||
if (isa<PackedType>((*$3).get()))
|
|
||||||
GEN_ERROR("Packed types not supported by icmp instruction");
|
|
||||||
Value* tmpVal1 = getVal(*$3, $4);
|
Value* tmpVal1 = getVal(*$3, $4);
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
Value* tmpVal2 = getVal(*$3, $6);
|
Value* tmpVal2 = getVal(*$3, $6);
|
||||||
@ -2561,8 +2560,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
|||||||
| FCMP FPredicates Types ValueRef ',' ValueRef {
|
| FCMP FPredicates Types ValueRef ',' ValueRef {
|
||||||
if (!UpRefs.empty())
|
if (!UpRefs.empty())
|
||||||
GEN_ERROR("Invalid upreference in type: " + (*$3)->getDescription());
|
GEN_ERROR("Invalid upreference in type: " + (*$3)->getDescription());
|
||||||
if (isa<PackedType>((*$3).get()))
|
|
||||||
GEN_ERROR("Packed types not supported by fcmp instruction");
|
|
||||||
Value* tmpVal1 = getVal(*$3, $4);
|
Value* tmpVal1 = getVal(*$3, $4);
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
Value* tmpVal2 = getVal(*$3, $6);
|
Value* tmpVal2 = getVal(*$3, $6);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user