Closed llvmbot closed 2 years ago
mentioned in issue llvm/llvm-bugzilla-archive#14650
mentioned in issue llvm/llvm-bugzilla-archive#14640
Fixed in r170546.
Bug llvm/llvm-bugzilla-archive#14640 has been marked as a duplicate of this bug.
Bug llvm/llvm-bugzilla-archive#14650 has been marked as a duplicate of this bug.
cannot be reproduced using an older (non-trunk) version of Clang/LLVM: FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
Extended Description
int f(const char *s, int len) { int r = 0; for(int i = 0; i < len; i++) r ^= s[i]; return r; }
clang -O2 -c f.c
getSizeInBits called on extended MVT. UNREACHABLE executed at /usr/home/devhc/llvmhead/llvm/include/llvm/CodeGen/ValueTypes.h:333! Stack dump: