So far it creates a test helper and so it should be moved there. It also create a layering cycle between CodeGen and CodeGen/AsmPrinter, which should be avoided.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The include through ../lib is still ugly, but I believe resolving the cyclic dependency between codegen and asmparser is more important. It also avoids paying the cost of compiling testing code for every LLVM build even though it's not used in LLVM itself.