|
|
| Bugzilla Link |
50893 |
| Resolution |
FIXED |
| Resolved on |
Jul 16, 2021 05:50 |
| Version |
trunk |
| OS |
Windows NT |
| Reporter |
LLVM Bugzilla Contributor |
| CC |
@nemanjai |
| Fixed by commit(s) |
6a06dba |
Extended Description
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.