Displaying 2 results from an estimated 2 matches for "setpreserveall".
Did you mean:
setpreservesall
2009 Apr 30
1
[LLVMdev] Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by pass!"' failed.
Hello,
I have two passes, A and B. A is a function pass. B is a module
pass. Each uses their getAnalysisUsage() method to .addRequired()
several passes, and each .setPreserveAll()s. **Pass B requires pass
A**. But, when I call getAnalysis<A> from within B, it exclaims:
Assertion `ResultPass && "getAnalysis*() called on an analysis that
was not " "'required' by pass!"' failed.
Clearly, that is nonsense, because I require th...
2017 May 17
2
Machine instruction verifier pass
- Please do not add any more uses of the LiveVariables pass! It is deprecated and only kept around for one last pass that isn't converted. All new code should use LiveIntervalAnalysis!
- Kill flags are optional: If they are present they must be correct, but it is legal to have a value die without having a kill flag on the operand. So often a simple fix is to clear out the kill flags from