ScopDetection: Improve printing of alias sets
authorTobias Grosser <grosser@fim.uni-passau.de>
Mon, 4 Feb 2013 15:46:25 +0000 (15:46 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Mon, 4 Feb 2013 15:46:25 +0000 (15:46 +0000)
commit428b3e48e209dd459f4cfa42c49425c0dc549b11
tree6c6882ec4811749204e51a5457493869b3baa88a
parent24937c12ebbc4d1128618d0f0ff7b1e638a5471d
ScopDetection: Improve printing of alias sets

We now show the all members of the alias set that may couse possible aliasing.
In case a alias set member is not a named instruction (unnamed instructions or
constant expressions), we show the expression itself.

This improves our error message

from:

  Possible aliasing for value: .reg2mem

to:

  Possible aliasing: ".reg2mem",
                     "[0 x double]* inttoptr (i64 47255179264 to [0 x double]*)

llvm-svn: 174329
polly/lib/Analysis/ScopDetection.cpp