[all-commits] [llvm/llvm-project] baf008: [SimplifyCFG] Add tests for sinking calls with dif...

goldsteinn via All-commits all-commits at lists.llvm.org
Wed Oct 2 13:15:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf008ac29e582003f6fe6ec096a6d18bbb43d49
      https://github.com/llvm/llvm-project/commit/baf008ac29e582003f6fe6ec096a6d18bbb43d49
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/sink-cb-diff-attrs.ll

  Log Message:
  -----------
  [SimplifyCFG] Add tests for sinking calls with differing number of attrs; NFC


  Commit: e343af777ef51c4496e7fb2689735866bc617897
      https://github.com/llvm/llvm-project/commit/e343af777ef51c4496e7fb2689735866bc617897
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/test/Transforms/SimplifyCFG/sink-cb-diff-attrs.ll
    M llvm/unittests/IR/AttributesTest.cpp

  Log Message:
  -----------
  [SimplifyCFG][Attributes] Enabling sinking calls with differing number of attrsets

Prior impl would fail if the number of attribute sets on the two calls
wasn't the same which is unnecessary as long as we aren't throwing
away and must-preserve attrs.

Closes #110896


Compare: https://github.com/llvm/llvm-project/compare/40b8a0fd1743...e343af777ef5

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list