<div dir="ltr"><div>I am using LLVM version 4.0.1</div><div><br></div><div>Running `llc -march=riscv64 math.ll` returns: </div><div><br></div><div><div>#0 0x0000000000fed7d1 (llc+0xfed7d1)</div><div>#1 0x0000000000fec559 (llc+0xfec559)</div><div>#2 0x0000000000fec8d9 (llc+0xfec8d9)</div><div>#3 0x00007f22c044e5e0 __restore_rt (/lib64/libpthread.so.0+0xf5e0)</div><div>#4 0x0000000000d7faf3 (llc+0xd7faf3)</div><div>#5 0x0000000000cd4b88 (llc+0xcd4b88)</div><div>#6 0x0000000000cd530c (llc+0xcd530c)</div><div>#7 0x00000000006858c3 (llc+0x6858c3)</div><div>#8 0x000000000063c442 (llc+0x63c442)</div><div>#9 0x00007f22bf031c05 __libc_start_main (/lib64/libc.so.6+0x21c05)</div><div>#10 0x000000000067f08a (llc+0x67f08a)</div><div>Stack dump:</div><div>0.      Program arguments: llc -march=riscv32 math.ll</div><div>Segmentation fault (core dumped)</div></div><div><br></div><div><br></div><div>It works fine when I use any other argument for -march (x86, arm, arm64). </div><div><br></div><br clear="all"><div><br></div>-- <br><div class="gmail-m_-282864699414988632gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Ahmed Samara</div><div dir="ltr"><div><div>M.S. Computer Engineering</div></div></div></div></div></div></div></div>
</div>