Skip to content

Commit d9f9775

Browse files
authored
Revert "[llvm] Fix assertion error where we didn't check fixed point types." (#82285)
These changes break the `LLVM::fixed-point.ll` test some targets what fails the builds for those targets (more details #80757 (comment)) The problem wasn't fixed for few days, Reverts #80757
1 parent 0c02329 commit d9f9775

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,12 @@ bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) {
224224
Encoding == dwarf::DW_ATE_float || Encoding == dwarf::DW_ATE_UTF ||
225225
Encoding == dwarf::DW_ATE_boolean ||
226226
Encoding == dwarf::DW_ATE_complex_float ||
227-
Encoding == dwarf::DW_ATE_signed_fixed ||
228-
Encoding == dwarf::DW_ATE_unsigned_fixed ||
229227
(Ty->getTag() == dwarf::DW_TAG_unspecified_type &&
230228
Ty->getName() == "decltype(nullptr)")) &&
231229
"Unsupported encoding");
232230
return Encoding == dwarf::DW_ATE_unsigned ||
233231
Encoding == dwarf::DW_ATE_unsigned_char ||
234232
Encoding == dwarf::DW_ATE_UTF || Encoding == dwarf::DW_ATE_boolean ||
235-
Encoding == llvm::dwarf::DW_ATE_unsigned_fixed ||
236233
Ty->getTag() == dwarf::DW_TAG_unspecified_type;
237234
}
238235

llvm/test/DebugInfo/fixed-point.ll

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)