[llvm-bugs] [Bug 47408] New: [PowerPC] Loads in altivec.h do not accept const pointers

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 3 08:08:18 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47408

            Bug ID: 47408
           Summary: [PowerPC] Loads in altivec.h do not accept const
                    pointers
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nemanja.i.ibm at gmail.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Reproducer:

#include <altivec.h>
vector signed int test(const int *p) {
  return vec_xl(16, p);
}

-- 
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/20200903/e626b464/attachment-0001.html>


More information about the llvm-bugs mailing list