search for: twoaddresspass

Displaying 1 result from an estimated 1 matches for "twoaddresspass".

2007 Apr 07
1
[LLVMdev] Pass management
...infamous: PassManagerT.h:387: failed assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps this is a module pass requiring a function pass?"' Well, without requiring TwoAddressPass, LLVM's pass manager schedules my pass to run before TwoAddress, and, because TwoAddress does not preserve it, the pass manager call my pass again. That is what I want to avoid. I wish I could require TwoAddress in my pass. Could someone tell me how to avoid that error message? My getAnalys...