mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Allow llvm-as to parse a getresult with an undef operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f530a59f7
commit
9ac0ac5675
File diff suppressed because it is too large
Load Diff
@ -346,7 +346,7 @@
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
#line 950 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
#line 950 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
{
|
||||
llvm::Module *ModuleVal;
|
||||
llvm::Function *FunctionVal;
|
||||
|
@ -3135,7 +3135,7 @@ MemoryInst : MALLOC Types OptCAlign {
|
||||
$$ = new StoreInst($3, tmpVal, $1, $7);
|
||||
delete $5;
|
||||
}
|
||||
| GETRESULT Types SymbolicValueRef ',' EUINT64VAL {
|
||||
| GETRESULT Types ValueRef ',' EUINT64VAL {
|
||||
Value *TmpVal = getVal($2->get(), $3);
|
||||
if (!GetResultInst::isValidOperands(TmpVal, $5))
|
||||
GEN_ERROR("Invalid getresult operands");
|
||||
|
@ -3135,7 +3135,7 @@ MemoryInst : MALLOC Types OptCAlign {
|
||||
$$ = new StoreInst($3, tmpVal, $1, $7);
|
||||
delete $5;
|
||||
}
|
||||
| GETRESULT Types SymbolicValueRef ',' EUINT64VAL {
|
||||
| GETRESULT Types ValueRef ',' EUINT64VAL {
|
||||
Value *TmpVal = getVal($2->get(), $3);
|
||||
if (!GetResultInst::isValidOperands(TmpVal, $5))
|
||||
GEN_ERROR("Invalid getresult operands");
|
||||
|
Loading…
x
Reference in New Issue
Block a user