[llvm-dev] Is there a way to determine what CPU resource is used by which instruction?
Rail Shafigulin via llvm-dev
llvm-dev at lists.llvm.org
Tue Oct 20 11:06:36 PDT 2015
> Look for a #define like this in the llvm CodeGen files:
> #define DEBUG_TYPE “misched"
> This allows you to use
> llc -debug-only=misched
> clang -mllvm -ldebug-only=misched
> to enable the debugging output for that file/topic. You may use the flag
> multiple times to enable multiple debugging outputs.
> - Matthias
Thanks. I think this is what I was looking for.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev