[llvm-dev] [GlobalISel] [X86] unable to legalize instruction

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 11 17:50:29 PDT 2017


global-isel for x86 is still very much a work in progress. What was the
content for simple_foo.ll?

~Craig

On Wed, Oct 11, 2017 at 5:39 PM, S. Bharadwaj Yadavalli via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi,
>
> Can someone please let me know if I can expect GlobalISel to be functional
> for x86/x86-64 targets?
>
> $ uname -a
>
> Darwin <Machine-Name> 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24
> 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64
> Following is the command I used that resulted in an error :
>
> ~/github/build/llvm/Debug/bin/llc -global-isel -O0 simple_foo.ll
>
> LLVM ERROR: unable to legalize instruction (in function: foo)
>
> llc without the -global-isel option works fine.
> I built clang/llc using the sources with the following tips:
>
> LLVM
>
> 761e543ac73 (HEAD -> master, origin/master, origin/HEAD) [Transforms] Fix
> some Clang-tidy modernize and Include What You Use warnings; other minor
> fixes (NFC).
>
> clang
>
> 9563977e8b (HEAD -> master, origin/master, origin/HEAD) [X86] Add support
> for 'amdfam17h' to __builtin_cpu_is to match gcc.
>
> Thanks,
>
> Bharadwaj
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171011/e68c4df8/attachment.html>


More information about the llvm-dev mailing list