Displaying 4 results from an estimated 4 matches for "bottompass".
2007 Dec 18
0
[LLVMdev] Another Pass Manager Assertion
...>
> Does anyone see anything wrong with my use of the pass manager
> interface? As far as I can tell, the code looks correct.
Your pass manager interface is OK.
You are requesting PassManager to make a Function level analysis pass
(Pass1) available to Module level transformation pass (BottomPass).
In real life you could use it to request Dominator information for a
module level pass. This is supported and it works. The reason it fails
for your test case is that the function "main" is just a declaration.
There is no analysis info to generate.
If you add a "main"...
2007 Dec 18
2
[LLVMdev] Another Pass Manager Assertion
Dear All,
The attached code (which is a contrived test case) hits the following
assertion:
test:
/home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:226:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass &&
"getAnalysis*() called on an analysis that was not "
2007 Dec 17
3
[LLVMdev] Bug 1868: Specifying Pass Orderings
Dear Devang Patel,
In response to your comment on bug 1868, how do I get BottomPass to
requires Pass2 before Pass1? Is it by reversing the order of the calls
to AU.addRequired()?
-- John T.
--
John T. Criswell
jcriswel at bigw.org
"It's today!" said Piglet. "My favorite day," said Pooh.
2007 Dec 17
1
[LLVMdev] Bug 1868: Specifying Pass Orderings
...t; On Dec 17, 2007, at 2:01 PM, John Criswell wrote:
>
>> Devang Patel wrote:
>>>
>>> On Dec 17, 2007, at 1:47 PM, John Criswell wrote:
>>>
>>>> Dear Devang Patel,
>>>>
>>>> In response to your comment on bug 1868, how do I get BottomPass to
>>>> requires Pass2 before Pass1? Is it by reversing the order of the
>>>> calls
>>>> to AU.addRequired()?
>>>
>>> yup :)
>> So what do I do if both Pass1 and Pass2 preserve nothing? Is that just
>> unschedule'able with the...