Skip to content
Commit 75dfed4f authored by Anton Korobeynikov's avatar Anton Korobeynikov
Browse files

Dynamic stack realignment use of sp register as source/dest register

in "bic sp, sp, #15" leads to unpredicatble behaviour in Thumb2 mode.
Emit the following code instead:
mov r4, sp
bic r4, r4, #15
mov sp, r4

llvm-svn: 90724
parent f2eda5ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment