[Bug 105200] [r600g] Regression: ImageMagick OpenCL kernel no longer compiles

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 2 04:01:21 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105200

--- Comment #9 from Jan Vesely <jan.vesely at rutgers.edu> ---
did you by any chance run the DUMP commands twice? the files seems to contain
duplicates.

Anyway I cannot reproduce the error.
running:
> clang -cc1 -x cl -triple=r600-- -target-cpu juniper -cl-single-precision-constant -cl-mad-enable -DMAGICKCORE_HDRI_SUPPORT=1 -DCLQuantum=float -DCLSignedQuantum=float -DCLPixelType=float4 -DQuantumRange=65535.000000f -DQuantumScale=0.000015 -DCharQuantumScale=1.000000 -DMagickEpsilon=0.000000 -DMagickPI=3.141593 -DMaxMap=65535 -DMAGICKCORE_QUANTUM_DEPTH=16 -I ./libclc/generic/include/ -include libclc/generic/include/clc/clc.h -emit-llvm -o magick-link.ll -mlink-bitcode-file libclc/built_libs/juniper-r600--.bc < magick.cl
> llc -march=r600-- -mcpu=juniper < 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180302/0be37024/attachment.html>


More information about the dri-devel mailing list