https://bugs.llvm.org/show_bug.cgi?id=47783

            Bug ID: 47783
           Summary: unable to legalize instruction: G_BRJT
           Product: libraries
           Version: trunk
          Hardware: PC
               URL: https://godbolt.org/z/hGMqWK
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: GlobalISel
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 24039
  --> https://bugs.llvm.org/attachment.cgi?id=24039&action=edit
simplified reproducer

Hi,

Yesterday, at the LLVM conference, somebody mentioned that he recommends
GlobalIsel for JIT workloads (but I think their experience was for GPUs, so not
really comparable). So I quickly tried enabling it for Postgres' JIT, on X86.

Immediately triggered:
LLVM ERROR: unable to legalize instruction: G_BRJT %39:_(p0), %jump-table.0,
%38:_(s64) (in function: deform_29_1)

Using bugpoint and some further manual work I created a fairly small
reproducer:
https://godbolt.org/z/Wxvdzs (also attached)

Regards,

Andres

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to