Displaying 1 result from an estimated 1 matches for "createarmiseldag".
2010 Jul 23
1
[LLVMdev] "Cannot call createPass on PassInfo without default ctor!"
...&& "Cannot call createPass on PassInfo without default ctor!"' failed.
A simple way to get it is to add two lines to ARMTargetMachine.cpp:
#include "llvm/Transforms/Scalar.h"
and
PM.add(createSinkingPass());
in addInstSelector just before this line:
PM.add(createARMISelDag(*this, OptLevel));
Then run anything through the ARM back end, for example:
clang -cc1 -triple thumbv7-eabi -O3 -target-cpu cortex-a8 x.c -S -o x.s
The interesting thing is that the assertion failure doesn't happen during the call to createSinkingPass(), which I added, but during the call to...