[llvm] Count CallInst Arguments Attributes to reduce unnecessary extension (PR #73501)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 19:26:00 PST 2023


zengdage wrote:

I have updated the patch based on reviewer comments. 1) switch the loop to be over `Use &` to avoid iterating over the call arguments. 2) calling `hasAttribute()` on the AttributeSet to avoid iterating over all attributes. 3) add `nounwind`  to avoid unnecessary CFI.

https://github.com/llvm/llvm-project/pull/73501


More information about the llvm-commits mailing list