[all-commits] [llvm/llvm-project] dcac2d: [IR Parser] Fix a crash handling zero width intege...
Chris Lattner via All-commits
all-commits at lists.llvm.org
Sun Jan 10 21:18:20 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dcac2da10632c83737fce6da60fbc4dd09c01034
https://github.com/llvm/llvm-project/commit/dcac2da10632c83737fce6da60fbc4dd09c01034
Author: Chris Lattner <clattner at nondot.org>
Date: 2021-01-10 (Sun, 10 Jan 2021)
Changed paths:
M mlir/lib/Parser/AttributeParser.cpp
M mlir/test/IR/invalid-ops.mlir
Log Message:
-----------
[IR Parser] Fix a crash handling zero width integer attributes.
llvm::APInt cannot hold zero bit values, therefore we shouldn't try
to form them.
Differential Revision: https://reviews.llvm.org/D94384
More information about the All-commits
mailing list