[PATCH] D33129: [SCEVExpander] Try harder to avoid introducing inttoptr

Keno Fischer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 06:56:14 PDT 2017


loladiro created this revision.
Herald added a subscriber: mzolotukhin.

This fixes introduction of an incorrect inttoptr/ptrtoint pair in
the included test case which makes use of non-integral pointers. I
suspect there are more cases like this left, but this takes care of
the one I was seeing at the moment.


https://reviews.llvm.org/D33129

Files:
  lib/Analysis/ScalarEvolutionExpander.cpp
  test/Transforms/LoopStrengthReduce/nonintegral.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33129.98758.patch
Type: text/x-patch
Size: 4673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170512/46a03794/attachment.bin>


More information about the llvm-commits mailing list