llvm-reduce: Avoid invalid attribute reduction on optnone functions
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 Jan 2023 15:55:59 +0000 (10:55 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 3 Jan 2023 20:48:14 +0000 (15:48 -0500)
commit7cd0fd6f519558fcccf07d7cbf14237f2c5182fe
tree59ed14c373da372e173bb2e9b96a25135c183ebf
parent1b969c6b6052d7882f9108c48c3a55c38a85f827
llvm-reduce: Avoid invalid attribute reduction on optnone functions

We have this ridiculous restriction that optnone requires noinline,
so the pair needs to be removed if we want to remove noinline.
llvm/test/tools/llvm-reduce/reduce-attributes-optnone-noinline.ll [new file with mode: 0644]
llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp