[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
> or
> 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


Mathias,

Thanks. I think this is what I was looking for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151020/8fbdc79c/attachment.html>


More information about the llvm-dev mailing list