[PATCH] D137149: Use PassGate from LLVMContext if any otherwise global one

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 02:56:19 PDT 2022


nhaehnle added a comment.

It's sort of strange to have a pass gate reference in the LLVMContext and not use it. But you could just have a `StandardInstrumentations::setPassGate` method to store a reference locally.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137149



More information about the llvm-commits mailing list