This makes it possible to see the output from the pass when using --print-after-all and other command line options.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
A static char ID needs to be added to AVRDAGToDAGISel, and probably to AMDGPUDAGToDAGISel.
llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp | ||
---|---|---|
588 | I think this requires a new instance of ID for the class to be registered. And somebody else is also missing it and uses one from SelectionDAGISel (AMDGPUDAGToDAGISel is one of such classes). That's why there is a double registration error. |
Comment Actions
It looks like all ISel pass classes have shared ID thanks to SelectionDAGISel and fixing this is more complicated.
I think this requires a new instance of ID for the class to be registered. And somebody else is also missing it and uses one from SelectionDAGISel (AMDGPUDAGToDAGISel is one of such classes). That's why there is a double registration error.