Skip to content
Commit 29c22fae authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[SROA] Fix the loop exit placement to be prior to indexing the splits

array. This prevents it from walking out of bounds on the splits array.

Bug found with the existing tests by ASan and by the MSVC debug build.

llvm-svn: 225069
parent c39eaa50
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