Skip to content
Commit 93d88446 authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

ARMBaseRegisterInfo::estimateRSStackSizeLimit() could return prematurely with a

too large limit.

The function would return immediately when finding an addrmode 3/5 instruction.
It needs to keep scanning in case there is an addrmode 6 instruction which drops
the limit to 0.

A test case is very difficult to produce because it will only fail when the
scavenger is used.

rdar://problem/7894847

llvm-svn: 103995
parent 1e4f5520
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