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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to