llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.03k stars 11.58k forks source link

getSizeInBits called on extended MVT. UNREACHABLE executed at include/llvm/CodeGen/ValueTypes.h:333! #15011

Closed llvmbot closed 2 years ago

llvmbot commented 11 years ago
Bugzilla Link 14639
Resolution FIXED
Resolved on Dec 19, 2012 08:35
Version trunk
OS FreeBSD
Attachments preprocessed source (boring...), run script (boring...)
Reporter LLVM Bugzilla Contributor
CC @d0k,@efriedma-quic,@tinti

Extended Description

  1. source code snippet (file name: f.c):

int f(const char *s, int len) { int r = 0; for(int i = 0; i < len; i++) r ^= s[i]; return r; }

  1. command line:

clang -O2 -c f.c

  1. output:

getSizeInBits called on extended MVT. UNREACHABLE executed at /usr/home/devhc/llvmhead/llvm/include/llvm/CodeGen/ValueTypes.h:333! Stack dump:

  1. Program arguments: /usr/home/devhc/lllvm/bin/clang -cc1 -triple i386-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name f.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu i486 -target-linker-version 2.17.50 -momit-leaf-frame-pointer -coverage-file /usr/home/devhc/clangur/f.o -resource-dir /usr/home/devhc/lllvm/bin/../lib/clang/3.3 -fmodule-cache-path /var/tmp/clang-module-cache -O2 -fdebug-compilation-dir /home/devhc/clangur -ferror-limit 19 -fmessage-length 127 -mstackrealign -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -o f.o -x c f.c
  2. parser at end of file
  3. Per-module optimization passes
  4. Running pass 'CallGraph Pass Manager' on module 'f.c'.
  5. Running pass 'Loop Pass Manager' on function '@f'
  6. Running pass 'Loop Vectorization' on basic block '%for.body' clang: error: unable to execute command: Abort trap (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.3 (trunk 170425) Target: i386-unknown-freebsd10.0 Thread model: posix
d0k commented 2 years ago

mentioned in issue llvm/llvm-bugzilla-archive#14650

d0k commented 2 years ago

mentioned in issue llvm/llvm-bugzilla-archive#14640

d0k commented 11 years ago

Fixed in r170546.

d0k commented 11 years ago

Bug llvm/llvm-bugzilla-archive#14640 has been marked as a duplicate of this bug.

d0k commented 11 years ago

Bug llvm/llvm-bugzilla-archive#14650 has been marked as a duplicate of this bug.

llvmbot commented 11 years ago

cannot be reproduced using an older (non-trunk) version of Clang/LLVM: FreeBSD clang version 3.2 (branches/release_32 168974) 20121130