llvm-reduce: Fix invalid reductions for exceptions, tokens and swifterror
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 1 Jan 2023 23:07:07 +0000 (18:07 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 3 Jan 2023 22:03:20 +0000 (17:03 -0500)
commitf4cb935ce8ade596a3f027870b8e2d90c94870ba
tree610c66e09a271d38c1a7d9eb158067d835d145de
parent84e888e5e418bcaf2e468730f3bf94cfc305c14d
llvm-reduce: Fix invalid reductions for exceptions, tokens and swifterror

Copies the same special cases that bugpoint uses. Technically the
token condition is stricter than what the verifier enforces.

Part 1 of #58815
llvm/test/tools/llvm-reduce/reduce-instructions-swifterror.ll [new file with mode: 0644]
llvm/test/tools/llvm-reduce/reduce-instructions-token-preallocated.ll [new file with mode: 0644]
llvm/test/tools/llvm-reduce/reduce-instructions-token.ll [new file with mode: 0644]
llvm/test/tools/llvm-reduce/remove-invoked-functions.ll
llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp