[all-commits] [llvm/llvm-project] 529c7d: [IR][NFC] Make PassConcept immovable (#208167)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Wed Jul 8 02:28:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 529c7d563bac018b8ea43ea8017c113ee384c004
      https://github.com/llvm/llvm-project/commit/529c7d563bac018b8ea43ea8017c113ee384c004
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/include/llvm/IR/PassManagerInternal.h

  Log Message:
  -----------
  [IR][NFC] Make PassConcept immovable (#208167)

PassConcept is only ever created as a unique_ptr when added to the pass
list of a pass manager. The instances are never copied or moved. Due to
inheritance, this also wouldn't work anyway. Explicitly forbid
copying/moving and remove the dead functions.

Preliminary work for removing the vtable from PassConcept/PassModel.



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