[LLVMdev] Internal llvm error: UNREACHABLE executed at ARMCallingConv.h:213

Vladimir Pouzanov farcaller at gmail.com
Sat Jun 14 05:40:04 PDT 2014


Initially this one got triggered from rustc, so I don't have a simple test
case for you, unfortunately.

IR after processing through bugpoint:
https://gist.github.com/ff0487dadc8576d07bdf.

Symptoms:

rustc --target thumbv7em-linux-eabi -Ctarget-cpu=cortex-m4 --opt-level 2
libcore/lib.rs
Unexpected member type for HA
UNREACHABLE executed at
/Users/farcaller/temp/rust/src/llvm/lib/Target/ARM/ARMCallingConv.h:213!

Compiles as expected if either -O2 or target-cpu is removed.

-- 
Sincerely,
Vladimir "Farcaller" Pouzanov
http://farcaller.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140614/8c6ed221/attachment.html>


More information about the llvm-dev mailing list