[PATCH] D35058: [docs] Document how to debug instruction scheduling model generation
Christof Douma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 05:28:10 PDT 2017
christof added a comment.
Good idea to add a little write-up on that utility. Might want to make it more clear that it is about the machine scheduler models. It does not do anything for the Itinerary based schedule models.
I tend not to use the make output to construct the TableGen command as it is easy enough to construct and it saves some digging into the make output to get the right command out. At the root of the source tree it is:
<build>/bin/llvm-tblgen -I include -I lib/Target/<target> lib/Target/<target>/<target>.td --gen-subtarget --debug-only=subtarget-emitter
Where `<build>` is the build directory and `<target>` the directory name of the target.
But a verbose make run does work as well if you prefer that. I don't hold a strong opinion on it.
https://reviews.llvm.org/D35058
More information about the llvm-commits
mailing list