llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[RISCV] Backend crash when experimental-xqcibi is enabled

Open svs-quic opened this issue 1 year ago • 1 comments

When the follow IR is compiled with -experimental-xqcibi we see a crash.

define i1 @crash(i64 %0) { entry: %cmp10.i = icmp ugt i64 %0, 2199023255552 ret i1 %cmp10.i }

Crash signature:

LLVM ERROR: Not supported instr: <MCInst 11957 <MCOperand Reg:53> <MCOperand Reg:54> <MCOperand Imm:512> <MCOperand Imm:14> <MCOperand Reg:53> <MCOperand Reg:55>>

Godbolt link: https://godbolt.org/z/n9K7aWojc

svs-quic avatar May 20 '25 09:05 svs-quic

@llvm/issue-subscribers-backend-risc-v

Author: Sudharsan Veeravalli (svs-quic)

When the follow IR is compiled with -experimental-xqcibi we see a crash.

define i1 @<!-- -->crash(i64 %0) { entry: %cmp10.i = icmp ugt i64 %0, 2199023255552 ret i1 %cmp10.i }

Crash signature:

LLVM ERROR: Not supported instr: &lt;MCInst 11957 &lt;MCOperand Reg:53&gt; &lt;MCOperand Reg:54&gt; &lt;MCOperand Imm:512&gt; &lt;MCOperand Imm:14&gt; &lt;MCOperand Reg:53&gt; &lt;MCOperand Reg:55&gt;&gt;

Godbolt link: https://godbolt.org/z/n9K7aWojc

llvmbot avatar May 20 '25 09:05 llvmbot