mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -346,7 +346,7 @@
|
|||||||
|
|
||||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||||
typedef union YYSTYPE
|
typedef union YYSTYPE
|
||||||
#line 950 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
|
#line 950 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||||
{
|
{
|
||||||
llvm::Module *ModuleVal;
|
llvm::Module *ModuleVal;
|
||||||
llvm::Function *FunctionVal;
|
llvm::Function *FunctionVal;
|
||||||
|
@ -413,7 +413,7 @@ static Value *getExistingVal(const Type *Ty, const ValID &D) {
|
|||||||
if (&D.ConstPoolFP->getSemantics() == &APFloat::IEEEdouble &&
|
if (&D.ConstPoolFP->getSemantics() == &APFloat::IEEEdouble &&
|
||||||
Ty==Type::FloatTy)
|
Ty==Type::FloatTy)
|
||||||
D.ConstPoolFP->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
|
D.ConstPoolFP->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
|
||||||
return ConstantFP::get(Ty, *D.ConstPoolFP);
|
return ConstantFP::get(*D.ConstPoolFP);
|
||||||
|
|
||||||
case ValID::ConstNullVal: // Is it a null value?
|
case ValID::ConstNullVal: // Is it a null value?
|
||||||
if (!isa<PointerType>(Ty)) {
|
if (!isa<PointerType>(Ty)) {
|
||||||
@ -1867,7 +1867,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
|
|||||||
// as double. Fix this here. Long double is done right.
|
// as double. Fix this here. Long double is done right.
|
||||||
if (&$2->getSemantics()==&APFloat::IEEEdouble && $1==Type::FloatTy)
|
if (&$2->getSemantics()==&APFloat::IEEEdouble && $1==Type::FloatTy)
|
||||||
$2->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
|
$2->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
|
||||||
$$ = ConstantFP::get($1, *$2);
|
$$ = ConstantFP::get(*$2);
|
||||||
delete $2;
|
delete $2;
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user