mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Declare that lowerinvoke doesn't interact with other lowering passes.
Patch written by Domagoj Babic! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,14 +34,16 @@ namespace {
|
||||
class LowerSwitch : public FunctionPass {
|
||||
public:
|
||||
virtual bool runOnFunction(Function &F);
|
||||
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
// This is a cluster of orthogonal Transforms
|
||||
// This is a cluster of orthogonal Transforms
|
||||
AU.addPreserved<UnifyFunctionExitNodes>();
|
||||
AU.addPreservedID(PromoteMemoryToRegisterID);
|
||||
AU.addPreservedID(LowerSelectID);
|
||||
AU.addPreservedID(LowerInvokePassID);
|
||||
AU.addPreservedID(LowerAllocationsID);
|
||||
}
|
||||
|
||||
|
||||
typedef std::pair<Constant*, BasicBlock*> Case;
|
||||
typedef std::vector<Case>::iterator CaseItr;
|
||||
private:
|
||||
|
Reference in New Issue
Block a user