llvm-capstone/llvm
Florian Hahn 7c0089d735
[Matrix] Check if iterator is at beginning of BB in optimizeTranspose.
If an instruction at the beginning of a block is erased,  this may
trigger crash due to dereferencing an invalid iterator.

Check if II is at the end before dereferencing it.

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D127736
2022-06-14 21:37:02 +01:00
..
benchmarks
bindings [llvm-ocaml] Add and use opaque pointer compatible bindings 2022-06-02 11:42:24 +02:00
cmake Revert "[cmake] Don't export LLVM_TOOLS_INSTALL_DIR anymore" 2022-06-10 19:26:12 +00:00
docs [Coroutines] Convert coroutine.presplit to enum attr 2022-06-14 14:23:46 +08:00
examples Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
include remove a duplicated include 2022-06-14 18:55:26 +02:00
lib [Matrix] Check if iterator is at beginning of BB in optimizeTranspose. 2022-06-14 21:37:02 +01:00
projects
resources
runtimes Revert "[runtimes] Detect changes to Tests.cmake" 2022-05-26 09:34:18 -07:00
test [Matrix] Check if iterator is at beginning of BB in optimizeTranspose. 2022-06-14 21:37:02 +01:00
tools [llvm-cxxfilt] Add description for --types in help text 2022-06-14 10:32:56 +01:00
unittests [C-API][ORC] Add C API to suspend lookups during definition generation. 2022-06-13 17:20:07 -07:00
utils Revert "gn build: Add support for building the standalone ubsan runtime." 2022-06-13 14:06:14 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux 2022-06-07 21:22:38 -07:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
README.txt
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.