Teach SCEVExpander::InsertCastOfTo to avoid creating inttoptr-of-ptrtoint
and ptrtoint-of-inttoptr expressions. This fixes a regression in 300.twolf.

llvm-svn: 69293
2 files changed
tree: 6cbdcbe3eef02d374f0eb31dec903070c4548d81
  1. clang/
  2. llvm/