[PATCH] [Fix] Allow pointer types as access elements and compare them correct

Johannes Doerfert doerfert at cs.uni-saarland.de
Fri Sep 19 01:38:50 PDT 2014


Hi grosser, simbuerg, sebpop, dpeixott,

  This fixes two problems which are usualy caused together:
    1) The elements of an isl AST access expression could be pointers
       not only integers, floats and vectores thereof.
    2) The runtime alias checks need to compare pointers but if they
       are of a different type we need to cast them into a "max" type
       similar to the non pointer case.

http://reviews.llvm.org/D5406

Files:
  lib/CodeGen/IslExprBuilder.cpp
  test/Isl/CodeGen/aliasing_different_pointer_types.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5406.13858.patch
Type: text/x-patch
Size: 4074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140919/2b6443fd/attachment.bin>


More information about the llvm-commits mailing list