llvm-capstone/mlir
Aart Bik 5f022ad6ed [mlir] detect integer overflow in debug mode
Rationale:
This computation failed ASAN for the following input
(integer overflow during 4032000000000000000 * 100):

  tensor<100x200x300x400x500x600x700x800xf32>

This change adds a simple overflow detection during
debug mode (which we run more regularly than ASAN).
Arguably this is an unrealistic tensor input, but
in the context of sparse tensors, we may start to
see cases like this.

Bug:
https://bugs.llvm.org/show_bug.cgi?id=49136

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D96530
2021-02-11 18:20:40 -08:00
..
cmake/modules [MLIR] [CMake] Support building MLIR standalone 2021-02-02 13:10:21 -06:00
docs Enable Pass::initialize() to fail by returning a LogicalResult 2021-02-11 01:51:53 +00:00
examples Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
include s[mlir] Tighten computation of inferred SubView result type. 2021-02-11 22:38:16 +00:00
integration_test Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
lib [mlir] detect integer overflow in debug mode 2021-02-11 18:20:40 -08:00
test s[mlir] Tighten computation of inferred SubView result type. 2021-02-11 22:38:16 +00:00
tools [mlir] make ModuleTranslation mapping fields private 2021-02-11 14:50:49 +01:00
unittests Fix CMake configuration for MLIR unittests 2021-02-11 01:17:49 +00:00
utils [mlir][spirv] Fix script for availability autogen and refresh ops 2021-01-22 13:07:36 -05:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt Fix CMake configuration for MLIR unittests 2021-02-11 01:17:49 +00:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.