llvm-project/llvm/test/Transforms/FunctionSpecialization
Alexandros Lamprineas a910337b5d [FuncSpec] Conditional jump or move depends on uninitialised value(s).
I found this bug when performing a two-stage build of clang with
Function Specialization enabled and tuned aggressively. The crash
appears only on release builds.

Fixes https://github.com/llvm/llvm-project/issues/55000.

Before accessing the contents of the ArgInfo iterator inside
SCCPInstVisitor::markArgInFuncSpecialization, we should be
checking that the iterator is valid.

Differential Revision: https://reviews.llvm.org/D124114
2022-04-27 07:28:25 +01:00
..
bug52821-use-after-free.ll [Function Specialisation] Fix use after free 2022-02-02 16:32:10 +00:00
bug55000-read-uninitialized-value.ll [FuncSpec] Conditional jump or move depends on uninitialised value(s). 2022-04-27 07:28:25 +01:00
function-specialization-always-inline.ll
function-specialization-constant-expression.ll [FuncSpec] Don't specialise (or crash) on poison or constexpr values 2021-09-27 14:58:53 +01:00
function-specialization-constant-expression2.ll [FuncSpec] Don't specialise (or crash) on poison or constexpr values 2021-09-27 14:58:53 +01:00
function-specialization-constant-expression3.ll [FuncSpec] Remove definitions of fully specialized functions. 2022-03-01 11:57:08 +00:00
function-specialization-constant-integers.ll
function-specialization-loop.ll
function-specialization-minsize.ll
function-specialization-minsize2.ll
function-specialization-minsize3.ll
function-specialization-nodup.ll
function-specialization-nodup2.ll [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
function-specialization-noexec.ll
function-specialization-nonconst-glob.ll
function-specialization-nothing-todo.ll [FuncSpec] Don't run the solver if there's nothing to do 2021-10-13 19:05:19 +01:00
function-specialization-poison.ll [FuncSpec] Don't specialise (or crash) on poison or constexpr values 2021-09-27 14:58:53 +01:00
function-specialization-recursive.ll [FuncSpec] Constant propagate multiple arguments for recursive functions. 2022-03-31 13:00:08 +01:00
function-specialization-recursive2.ll
function-specialization-recursive3.ll
function-specialization-recursive4.ll
function-specialization-stats.ll
function-specialization.ll [FuncSpec] Remove definitions of fully specialized functions. 2022-03-01 11:57:08 +00:00
function-specialization2.ll
function-specialization3.ll [FuncSpec] Remove definitions of fully specialized functions. 2022-03-01 11:57:08 +00:00
function-specialization4.ll [FuncSpec] Support function specialization across multiple arguments. 2022-03-28 12:01:53 +01:00
function-specialization5.ll
remove-dead-recursive-function.ll [FuncSpec] Remove definitions of fully specialized functions. 2022-03-01 11:57:08 +00:00
specialize-multiple-arguments.ll [FuncSpec] Support function specialization across multiple arguments. 2022-03-28 12:01:53 +01:00