Files
clang-p2996/llvm/test/tools/llvm-reduce/Inputs
Matt Arsenault 11ad540118 llvm-reduce: Add broken testcase that shows uselistorder problem
I've been trying to track down this problem for a while and finally
found a small enough reproducer for a test. Reductions sometimes
produce text IR which does not parse, with errors such as

"error: wrong number of indexes, expected 9"

This appears to not happen with bitcode reduction, as the bitcode
reader seems to silently discard uselistorder when the sizes don't
match. I believe this is caused by dangling constants in the
LLVMContext, which is currently recycled between different reductions.
2023-07-07 19:02:46 -04:00
..