File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -679,10 +679,7 @@ const llvm::fltSemantics &FP80Type::getFloatSemantics() const {
679
679
llvm::TypeSize
680
680
FP80Type::getTypeSizeInBits (const mlir::DataLayout &dataLayout,
681
681
mlir::DataLayoutEntryListRef params) const {
682
- // The size of FP80Type should be 16 bytes, or 128 bits. The lower 80 bits
683
- // take part in the value representation and the higher 48 bits are just
684
- // paddings.
685
- return llvm::TypeSize::getFixed (128 );
682
+ return llvm::TypeSize::getFixed (16 );
686
683
}
687
684
688
685
uint64_t FP80Type::getABIAlignment (const mlir::DataLayout &dataLayout,
@@ -697,7 +694,7 @@ const llvm::fltSemantics &FP128Type::getFloatSemantics() const {
697
694
llvm::TypeSize
698
695
FP128Type::getTypeSizeInBits (const mlir::DataLayout &dataLayout,
699
696
mlir::DataLayoutEntryListRef params) const {
700
- return llvm::TypeSize::getFixed (128 );
697
+ return llvm::TypeSize::getFixed (16 );
701
698
}
702
699
703
700
uint64_t FP128Type::getABIAlignment (const mlir::DataLayout &dataLayout,
You can’t perform that action at this time.
0 commit comments