Skip to content
Commit 8c4da37b authored by Dan Gohman's avatar Dan Gohman
Browse files

Use SCEVExpander::InsertCastOfTo instead of calling new IntToPtrInst

directly, because the insert point used by the SCEVExpander may vary
from what LSR originally computes.

llvm-svn: 40641
parent cd1d086b
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