- 
                Notifications
    
You must be signed in to change notification settings  - Fork 15.1k
 
[llvm-mc] Add --runs option for benchmarking #151149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 
           Planning to use this in the context of #146593  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
could you add a simple test?
| 
           Added unit test  | 
    
| 
           Perhaps shorten the option to  Since this doesn't really touch lib/MC include/llvm/MC, I'd remove the   | 
    
Add support for measuring decode times in llvm-mc tool. Add command line options to enable time-trace profiling (similar to llc or opt) and add option
runsto run the decoder several times on each instruction.