Skip to content
Commit 1ba14285 authored by Evan Cheng's avatar Evan Cheng
Browse files

ARM SelectDYN_ALLOC should emit a copy from SP rather than referencing SP...

ARM SelectDYN_ALLOC should emit a copy from SP rather than referencing SP directly. In cases where there are two dyn_alloc in the same BB it would have caused the old SP value to be reused and badness ensues. rdar://7493908

llvm is generating poor code for dynamic alloca, I'll fix that later.

llvm-svn: 101383
parent 4230e358
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