[llvm-bugs] [Bug 38113] New: aliasing pointer analsyis broken with 32-bit pointers
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Jul  9 22:00:58 PDT 2018
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=38113
            Bug ID: 38113
           Summary: aliasing pointer analsyis broken with 32-bit pointers
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: airlied at gmail.com
                CC: llvm-bugs at lists.llvm.org
radv has just started adding support for KHR_variable_pointers vulkan
extension,
however some tests are crashing in llvm with a "Pointer address space out of
range" error.
This is due to a select on 2 pointers in the 32-bit constant address space (6).
However the code in lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp checks up to
MAX_COMMON_ADDRESS which is 5 and throws the error for amdgcn. However this
looks like the code hasn't really be updated to handle 32-bit address space
pointers.
https://reviews.llvm.org/D31520
was the change that added this.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180710/0cab78c1/attachment.html>
    
    
More information about the llvm-bugs
mailing list