We can do this by just querying attribute in the callsite itself. This
is both cleaner code and produces better results.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Utils/InlineFunction.cpp | ||
---|---|---|
1346 | This is going to intern a new AttributeSet just to turn it back into an AttrBuilder. For this particular usage, I don't get why this is using AttrBuilder at all. You can replace the AB uses below with querying attributes on CB directly. |
This is going to intern a new AttributeSet just to turn it back into an AttrBuilder.
For this particular usage, I don't get why this is using AttrBuilder at all. You can replace the AB uses below with querying attributes on CB directly.