Skip to content

Commit

Permalink
Revert "[llvm] Fix assertion error where we didn't check fixed point …
Browse files Browse the repository at this point in the history
…types." (llvm#82285)

These changes break the `LLVM::fixed-point.ll` test some targets what
fails the builds for those targets
(more details
llvm#80757 (comment))

The problem wasn't fixed for few days,

Reverts llvm#80757
  • Loading branch information
vvereschaka committed Feb 20, 2024
1 parent 0c02329 commit d9f9775
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
3 changes: 0 additions & 3 deletions llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,12 @@ bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) {
Encoding == dwarf::DW_ATE_float || Encoding == dwarf::DW_ATE_UTF ||
Encoding == dwarf::DW_ATE_boolean ||
Encoding == dwarf::DW_ATE_complex_float ||
Encoding == dwarf::DW_ATE_signed_fixed ||
Encoding == dwarf::DW_ATE_unsigned_fixed ||
(Ty->getTag() == dwarf::DW_TAG_unspecified_type &&
Ty->getName() == "decltype(nullptr)")) &&
"Unsupported encoding");
return Encoding == dwarf::DW_ATE_unsigned ||
Encoding == dwarf::DW_ATE_unsigned_char ||
Encoding == dwarf::DW_ATE_UTF || Encoding == dwarf::DW_ATE_boolean ||
Encoding == llvm::dwarf::DW_ATE_unsigned_fixed ||
Ty->getTag() == dwarf::DW_TAG_unspecified_type;
}

Expand Down
31 changes: 0 additions & 31 deletions llvm/test/DebugInfo/fixed-point.ll

This file was deleted.

0 comments on commit d9f9775

Please sign in to comment.