[all-commits] [llvm/llvm-project] d58c79: Pass: Do not use llvm::array_pod_sort to sort OpPa...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Thu Mar 6 11:20:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d58c793673095195c46366fe19f151a68a029820
      https://github.com/llvm/llvm-project/commit/d58c793673095195c46366fe19f151a68a029820
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M mlir/lib/Pass/Pass.cpp

  Log Message:
  -----------
  Pass: Do not use llvm::array_pod_sort to sort OpPassManagers.

OpPassManager contains a field of type std::unique_ptr which
is not guaranteed to be trivially relocatable so we cannot use
llvm::array_pod_sort.

Reviewers: River707, joker-eph

Reviewed By: joker-eph

Pull Request: https://github.com/llvm/llvm-project/pull/129968



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