[PATCH] D140349: [llvm][PassSupport] don't require passes to be default constructible

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 13:49:00 PST 2022


arsenm added inline comments.


================
Comment at: llvm/include/llvm/PassSupport.h:91
+Pass *callDefaultCtor() {
+  return nullptr;
+}
----------------
Should just be llvm_unreachable? Is this checked anywhere?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140349/new/

https://reviews.llvm.org/D140349



More information about the llvm-commits mailing list