search for: gla_llvm

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

Did you mean: ghc_llvm
2011 May 30
1
[LLVMdev] Segfault when trying to schedule custom ImmutablePass
...f I'm just using this wrong, maybe there should be an assert. I've searched the mailing list archives, but didn't find anything 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...