Vladimir Pouzanov
2014-Jun-14 12:40 UTC
[LLVMdev] Internal llvm error: UNREACHABLE executed at ARMCallingConv.h:213
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>
Tim Northover
2014-Jun-14 13:02 UTC
[LLVMdev] Internal llvm error: UNREACHABLE executed at ARMCallingConv.h:213
On 14 June 2014 13:40, Vladimir Pouzanov <farcaller at gmail.com> wrote:> 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.This looks very similar to the issue fixed[*] in r209650. Are you running on trunk, or an older build of LLVM? Cheers. Tim. [*] Well, we generate *some* code now. I believe there are still issues around strict AAPCS-VFP conformance on Cortex-M4.