search for: createcanonicalizeinstspass

Displaying 1 result from an estimated 1 matches for "createcanonicalizeinstspass".

2011 May 30
1
[LLVMdev] Segfault when trying to schedule custom ImmutablePass
...g related. Here's the code that segfaults: llvm::PassManager canonicalize; canonicalize.add(llvm::createIndVarSimplifyPass()); canonicalize.add(gla_llvm::createCanonicalizeCFGPass()); canonicalize.add(gla_llvm::createBackEndPointerPass(backEnd)); canonicalize.add(gla_llvm::createCanonicalizeInstsPass()); canonicalize.run(*module); where BackEndPointer is the Immutable Pass. This segfaults when ScalarEvolution tries to get TargetData if available. Below is the complete stack trace: #0 0x083ae6fd in std::vector<llvm::PassInfo const*, std::allocator<llvm::PassInfo const*> >::beg...