https://reviews.llvm.org/D137671 insured that when a function argument was inserted, argument attributes were properly shifted.
However, in the case the function body is empty, attributes are not shifted either.
This change addresses this by directly manipulating attributes for empty functions. Inserting arguments is not supported in this case, because they have no block arguments since they have no body.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo