[llvm-bugs] [Bug 50893] New: Compiler error when converting from vector of 2x32 to 2x64-bit int on POWER7

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 26 13:52:37 PDT 2021


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

            Bug ID: 50893
           Summary: Compiler error when converting from vector of 2x32 to
                    2x64-bit int on POWER7
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: clang at evan.coeusgroup.com
                CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com

Reduced test case (on Compiler Explorer: https://godbolt.org/z/z84YY6G35):


#include <stdint.h>

typedef int32_t i32x2 __attribute__((__vector_size__(8)));
typedef int64_t i64x2 __attribute__((__vector_size__(16)));

i64x2 cvt(i32x2 a) {
    return __builtin_convertvector(a, i64x2);
}


Looks like it started with clang 11.0; 10 works.

-- 
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/20210626/ee9579e6/attachment.html>


More information about the llvm-bugs mailing list