[PATCH] D31599: [CodeGen] Add Performance Monitor

Tobias Grosser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 07:00:55 PDT 2017


grosser added a comment.

Yes, until know this works only on X86. I intended this as a basic debugging facility. If there is interest (and instructions) it would be nice to generalize this. For ARM we could emit "MRC" instructions, but they do not seem to be accessible by default: http://blog.regehr.org/archives/794

Maybe we should just assert if this is not X86_64 for now?


https://reviews.llvm.org/D31599





More information about the llvm-commits mailing list