llvm::APInt cannot hold zero bit values, therefore we shouldn't try
to form them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D94384
[IR Parser] Fix a crash handling zero width integer attributes. ClosedPublic Authored by lattner on Jan 10 2021, 6:33 PM.
Details Summary llvm::APInt cannot hold zero bit values, therefore we shouldn't try
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 10 2021, 7:07 PM Closed by commit rGdcac2da10632: [IR Parser] Fix a crash handling zero width integer attributes. (authored by lattner). · Explain WhyJan 10 2021, 9:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 315690 mlir/lib/Parser/AttributeParser.cpp
mlir/test/IR/invalid-ops.mlir
|