mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +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:
parent
02a260aa11
commit
d8eb63fc72
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/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
#line 950 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
{
|
||||
llvm::Module *ModuleVal;
|
||||
llvm::Function *FunctionVal;
|
||||
|
@ -408,12 +408,12 @@ static Value *getExistingVal(const Type *Ty, const ValID &D) {
|
||||
GenerateError("FP constant invalid for type");
|
||||
return 0;
|
||||
}
|
||||
// Lexer has no type info, so builds all float and double FP constants
|
||||
// Lexer has no type info, so builds all float and double FP constants
|
||||
// as double. Fix this here. Long double does not need this.
|
||||
if (&D.ConstPoolFP->getSemantics() == &APFloat::IEEEdouble &&
|
||||
Ty==Type::FloatTy)
|
||||
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?
|
||||
if (!isa<PointerType>(Ty)) {
|
||||
@ -1867,7 +1867,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
|
||||
// as double. Fix this here. Long double is done right.
|
||||
if (&$2->getSemantics()==&APFloat::IEEEdouble && $1==Type::FloatTy)
|
||||
$2->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven);
|
||||
$$ = ConstantFP::get($1, *$2);
|
||||
$$ = ConstantFP::get(*$2);
|
||||
delete $2;
|
||||
CHECK_FOR_ERROR
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user