[all-commits] [llvm/llvm-project] 05738f: [IR] Optimize no-op removal from AttributeList (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 22 10:05:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05738ffcb87b76c6f166f965ba9b2db3257a4338
      https://github.com/llvm/llvm-project/commit/05738ffcb87b76c6f166f965ba9b2db3257a4338
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
    M llvm/lib/IR/Attributes.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list