[llvm] [llvm-exegesis] Set stack pointer register after starting perf counter (PR #72489)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 00:08:23 PST 2023


boomanaiden154 wrote:

@ondrasej 

This probably isn't the cleanest way to do this. Very open to suggestions in that regard. It would probably be cleaner to not use the stack and move values directly between registers and memory, but that requires clobbering at least one register to hold a memory address as there is no move instruction that takes a 64 bit immediate as an address, so that isn't a viable solution. Maybe there's a solution that I'm missing though.

Ready for reviewer comments either way though.

https://github.com/llvm/llvm-project/pull/72489


More information about the llvm-commits mailing list