[llvm-exegesis] Fix stack pointer register restoration
9eb80ab3 changed the method for stack pointer restoration to fix segmentation faults. However, I made a mistake in the patch and swapped a != for a ==, which caused an arbitrary register (the first one specified) to get restored rather than the stack pointer specifically. This patch fixes that issue and adds test coverage to prevent regression.
parent
2205d233
Please register or sign in to comment