[all-commits] [llvm/llvm-project] 66dcb8: [Attributes] Remove trailing empty attribute sets ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 5 08:14:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66dcb86b8bd9bdd1510c8eb797b4845cac0d3263
      https://github.com/llvm/llvm-project/commit/66dcb86b8bd9bdd1510c8eb797b4845cac0d3263
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

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

  Log Message:
  -----------
  [Attributes] Remove trailing empty attribute sets (PR59746)

In setAttributesAtIndex(), remove any trailing empty attribute sets.
Also make sure that all the different attribute removal APIs go
through that method.

Fixes https://github.com/llvm/llvm-project/issues/59746.




More information about the All-commits mailing list