llvm-reduce: Simplify attribute reduction implementation
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 Jan 2023 18:33:17 +0000 (13:33 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 12 Jan 2023 13:03:13 +0000 (08:03 -0500)
commitb44cd97241643dedfb300d1afcd5a3a51bc1eab5
tree7cf1b85051ed10b75f87c72f301ba1026ff17f5f
parent0d0dab4e5fbec4efb31de6b877574d0d278f6809
llvm-reduce: Simplify attribute reduction implementation

There's no need to construct a map of attributes to modify throughout
the whole function before applying them all at once. The attribute
classes already have the necessary set behavior.
llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp