Displaying 1 result from an estimated 1 matches for "canonicalize2".
Did you mean:
canonicalize
2011 May 30
1
[LLVMdev] Segfault when trying to schedule custom ImmutablePass
...oBottom.cpp:248
#7 0x0808f1f3 in gla::PrivateManager::translateTopToBottom
(this=0x86ef860) at ../LunarGLASS/TopToBottom.cpp:66
#8 0x081064aa in main (argc=2, argv=0xbffff174) at main.cpp:388
However splitting things out works just fine:
llvm::PassManager canonicalize;
llvm::PassManager canonicalize2;
canonicalize.add(llvm::createIndVarSimplifyPass());
canonicalize.run(*module);
canonicalize2.add(gla_llvm::createCanonicalizeCFGPass());
canonicalize2.add(gla_llvm::createBackEndPointerPass(backEnd));
canonicalize2.add(gla_llvm::createCanonicalizeInstsPass());
canonicali...