Commit 63c31483 authored by Aiden Grossman's avatar Aiden Grossman
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment