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

Chupin, Pavel V via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 24 19:50:47 PDT 2018


I don't think it's stable, unless somebody recently contributed to x32. 
The last patch I sent was ~4 years ago and there've been quite a few issues left to fix for x32. :((

-- Pavel


-----Original Message-----
From: Andres Freund [mailto:andres at anarazel.de] 
Sent: Friday, September 21, 2018 4:55 PM
To: llvm-dev <llvm-dev at lists.llvm.org>; Zinovy Nis <zinovy.nis at gmail.com>; Chupin, Pavel V <pavel.v.chupin at intel.com>; Lang Hames <lhames at gmail.com>
Subject: X32 bugs around "cannot select" lingering around

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