[LLVMdev] Manipulate order of optimizations in llvm-ld
bram.adams at ugent.be
Mon Sep 18 08:27:29 PDT 2006
I've written a couple of passes, and I intend to use them using llvm-ld
(loading works fine). However, I can't seem to figure out how to put
them first, i.e. before all other optimizations (inlining,
internalizing, ... should only kick in after my passes).
Omitting AnalysisUsage::setPreservesAll() doesn't help and there is no
AnalysisUsage::invalidateAll(). Does anybody know a workaround?
GH-SEL, INTEC, Ghent University (Belgium)
More information about the llvm-dev