mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-01 00:35:43 +00:00
Allow llvm-as to parse a getresult with an undef operand.
llvm-svn: 50175
This commit is contained in:
parent
d70ea13581
commit
6de65a742d
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