[all-commits] [llvm/llvm-project] e2aed0: [NFC][SimplifyCFG] 'merge compatible invokes': tes...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Feb 8 10:30:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2aed0b0476bf5b6b1ea311fb18ff6209d540a59
      https://github.com/llvm/llvm-project/commit/e2aed0b0476bf5b6b1ea311fb18ff6209d540a59
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll

  Log Message:
  -----------
  [NFC][SimplifyCFG] 'merge compatible invokes': tests for indirect invokes.


  Commit: 414b47645d8b045a4a9d2dbce67a8a4107a4fe72
      https://github.com/llvm/llvm-project/commit/414b47645d8b045a4a9d2dbce67a8a4107a4fe72
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll

  Log Message:
  -----------
  [SimplifyCFG] 'merge compatible invokes': don't create trivial PHI's with all-identical incoming values


  Commit: c8ba2b67a0adebd15dcda70766d4ebaa0ec03720
      https://github.com/llvm/llvm-project/commit/c8ba2b67a0adebd15dcda70766d4ebaa0ec03720
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll

  Log Message:
  -----------
  [SimplifyCFG] 'merge compatible invokes': fully support indirect invokes

As long as *all* the invokes in the set are indirect,
we can merge them, but don't merge direct invokes into the set,
even though it would be legal to do.


Compare: https://github.com/llvm/llvm-project/compare/aeaf85b9c283...c8ba2b67a0ad


More information about the All-commits mailing list