[llvm-dev] X32 bugs around "cannot select" lingering around

Andres Freund via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 21 16:54:35 PDT 2018


Hi,

There's several, to my eyes, somewhat related looking bugs:

Bug 36743 - Cannot select: X86ISD::CALL ICE with -mx32 -O2 -fno-plt
https://bugs.llvm.org/show_bug.cgi?id=36743

Bug 34268 - JITting of x32 code on x64 fails with crash or instruction selection error.
https://bugs.llvm.org/show_bug.cgi?id=34268

There's unfortunately been no investigation.

I'm asking because I hit something eerily looking like the second case,
in postgresql.  The debian packagers report that postgres' tests fail on
x32 when llvm support is enabled.  The relevant bitcode excerpt and
error is:

https://gist.github.com/anarazel/f8fe66e149740479ec8501683008620e

Is x32 support considered stable?

Greetings,

Andres Freund


More information about the llvm-dev mailing list