SuccessChanges

Summary

  1. [IR] Optimize no-op removal from AttributeSet (NFC) (details)
  2. [IR] Optimize no-op removal from AttributeList (NFC) (details)
Commit fd46ed3f397d6cf41bc6c5a04ab2089f585afe44 by nikita.ppv
[IR] Optimize no-op removal from AttributeSet (NFC)

When removing an AttrBuilder from an AttributeSet, first check
whether there is any overlap. If nothing is being removed, we can
directly return the original set.
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit 05738ffcb87b76c6f166f965ba9b2db3257a4338 by nikita.ppv
[IR] Optimize no-op removal from AttributeList (NFC)

When removing an AttrBuilder from an index of an AttributeList,
directly return the original list if no attributes were actually
removed.
The file was modifiedllvm/lib/IR/Attributes.cpp