search for: tp58701p58813

Displaying 2 results from an estimated 2 matches for "tp58701p58813".

2013 Jun 25
0
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
..._____________________ > LLVM Developers mailing list > LLVMdev at .uiuc > http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev -- View this message in context: http://llvm.1065342.n5.nabble.com/About-writing-a-modulePass-in-addPreEmitPass-for-NVPTX-tp58701p58813.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Jun 24
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
Sorry for the delay. Yeah, that error message is a bit confusing. What's happening is that your pass sequence is invalid. Once the IR has been lowered to machine code, its too late to run LLVM IR passes (ModulePass, FunctionPass, CallGraphSCCPass, etc.). At that point, you need to run a Machine*Pass, e.g. MachineFunctionPass. If you need to run an IR level pass, you need to use