From: bugzilla-daemon@freedesktop.org Subject: [Bug 105200] [r600g] Regression: ImageMagick OpenCL kernel no longer compiles Date: Fri, 02 Mar 2018 04:01:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1899150224==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id D0CE56ECBB for ; Fri, 2 Mar 2018 04:01:20 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1899150224== Content-Type: multipart/alternative; boundary="15199632800.b39DE3.3757" Content-Transfer-Encoding: 7bit --15199632800.b39DE3.3757 Date: Fri, 2 Mar 2018 04:01:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105200 --- Comment #9 from Jan Vesely --- did you by any chance run the DUMP commands twice? the files seems to conta= in duplicates. Anyway I cannot reproduce the error. running: > clang -cc1 -x cl -triple=3Dr600-- -target-cpu juniper -cl-single-precisio= n-constant -cl-mad-enable -DMAGICKCORE_HDRI_SUPPORT=3D1 -DCLQuantum=3Dfloat= -DCLSignedQuantum=3Dfloat -DCLPixelType=3Dfloat4 -DQuantumRange=3D65535.00= 0000f -DQuantumScale=3D0.000015 -DCharQuantumScale=3D1.000000 -DMagickEpsil= on=3D0.000000 -DMagickPI=3D3.141593 -DMaxMap=3D65535 -DMAGICKCORE_QUANTUM_D= EPTH=3D16 -I ./libclc/generic/include/ -include libclc/generic/include/clc/= clc.h -emit-llvm -o magick-link.ll -mlink-bitcode-file libclc/built_libs/ju= niper-r600--.bc < magick.cl > llc -march=3Dr600-- -mcpu=3Djuniper < magick-link.ll Runs into: llvm/include/llvm/MC/MCRegisterInfo.h:64: unsigned int llvm::MCRegisterClass::getRegister(unsigned int) const: Assertion `i < getNumRegs() && "Register number out of range!"' failed. which is expected, since register spilling is not implemented (yet) --=20 You are receiving this mail because: You are the assignee for the bug.= --15199632800.b39DE3.3757 Date: Fri, 2 Mar 2018 04:01:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 9 on bug 10520= 0 from Jan Vesely
did you by any chance run the DUMP commands twice? the files s=
eems to contain
duplicates.

Anyway I cannot reproduce the error.
running:
> clang -cc1 -x cl -triple=3Dr600-- -target-cpu ju=
niper -cl-single-precision-constant -cl-mad-enable -DMAGICKCORE_HDRI_SUPPOR=
T=3D1 -DCLQuantum=3Dfloat -DCLSignedQuantum=3Dfloat -DCLPixelType=3Dfloat4 =
-DQuantumRange=3D65535.000000f -DQuantumScale=3D0.000015 -DCharQuantumScale=
=3D1.000000 -DMagickEpsilon=3D0.000000 -DMagickPI=3D3.141593 -DMaxMap=3D655=
35 -DMAGICKCORE_QUANTUM_DEPTH=3D16 -I ./libclc/generic/include/ -include li=
bclc/generic/include/clc/clc.h -emit-llvm -o magick-link.ll -mlink-bitcode-=
file libclc/built_libs/juniper-r600--.bc < magick.cl
> llc -march=3Dr600-- -mcpu=3Djuniper < magick-link.ll

Runs into:
llvm/include/llvm/MC/MCRegisterInfo.h:64: unsigned int
llvm::MCRegisterClass::getRegister(unsigned int) const: Assertion `i <
getNumRegs() && "Register number out of range!"' failed.

which is expected, since register spilling is not implemented (yet)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15199632800.b39DE3.3757-- --===============1899150224== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1899150224==--