Displaying 2 results from an estimated 2 matches for "target'targetmachine".
2014 Jul 14
2
[LLVMdev] Register Machine Pass
Where is the documentation about registering a machine pass? I'm unable to
find it.
I have built a machine function pass similar to the one found in
HexagonHardwareLoops.cpp. So I have generated a machine pass.cpp file,
modified 'Target'.h and 'Target'TargetMachine.cpp (to add pass via
addPass() in the addPreRegAlloc()). All this builds/compiles fine.
When running llc the pass does not get executed.
I seem to be missing some steps? Potentially registration of the machine
pass?
Thanks.
-------------- next part ------...
2014 Jul 14
3
[LLVMdev] Register Machine Pass
...; Where is the documentation about registering a machine pass? I'm
> > unable to find it.
> >
> >
> > I have built a machine function pass similar to the one found in
> > HexagonHardwareLoops.cpp. So I have generated a machine pass.cpp file,
> > modified 'Target'.h and 'Target'TargetMachine.cpp (to add pass via
> > addPass() in the addPreRegAlloc()). All this builds/compiles fine.
> >
> >
> > When running llc the pass does not get executed.
> >
> >
> > I seem to be missing some steps? Potentially regist...