[PATCH] D31599: [CodeGen] Add Performance Monitor
Sebastian Pop via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 07:13:40 PDT 2017
sebpop added a comment.
In https://reviews.llvm.org/D31599#716646, @grosser wrote:
> Maybe we should just assert if this is not X86_64 for now?
Yes, before starting generating the code for the perf monitoring, just add
if (Triple.getArch() == llvm::Triple::x86_64)
otherwise the flag should be a no-op, or a warning "flag not supported for this arch".
https://reviews.llvm.org/D31599
More information about the llvm-commits
mailing list