arsenm requested changes to this revision. arsenm added a comment. This revision now requires changes to proceed. Actually the test seems to just cover the ptrtoint case. Need some for the GEP cases as well https://reviews.llvm.org/D40455