AnsweredAssumed Answered

Help: Catalyst 12.11 clBuildProgram crash

Question asked by antzrhere on Nov 24, 2012
Latest reply on Nov 28, 2012 by binying

I've recently updated to Catalyst 12.11 Beta 8 from 12.9 and now my code which compiled & run perfectly now causes the compiler to crash.

This also happens using KernelAnalyzer.  I get this debug error message code spewed out to debug console as well:

 

LLVM ERROR: Cannot select: 0x5cf9e78: i8 = setcc 0x
5cfd4f0, 0x555bdb0, 0x5cfbe88 [ID=73]
  0x5cfd4f0: i32 = AMDILISD::ADD 0x555bdb0, 0x555c498 [ID=65]
    0x555bdb0: i32 = mul 0x5ce4dd0, 0x555c8d8 [ORD=10407] [ID=55]
      0x5ce4dd0: i32,ch = CopyFromReg 0x59c98c0, 0x55583f0 [ORD=10405] [ID=47]
        0x55583f0: i32 = Register %vreg766 [ORD=10405] [ID=7]
      0x555c8d8: i32 = Constant<-83941> [ORD=10406] [ID=9]
    0x555c498: i32,ch = CopyFromReg 0x59c98c0, 0x5ce4070 [ORD=10405] [ID=46]
      0x5ce4070: i32 = Register %vreg767 [ORD=10405] [ID=6]
  0x555bdb0: i32 = mul 0x5ce4dd0, 0x555c8d8 [ORD=10407] [ID=55]
    0x5ce4dd0: i32,ch = CopyFromReg 0x59c98c0, 0x55583f0 [ORD=10405] [ID=47]
      0x55583f0: i32 = Register %vreg766 [ORD=10405] [ID=7]
    0x555c8d8: i32 = Constant<-83941> [ORD=10406] [ID=9]

 

 

I also tried uninstalling 12.11 Beta and trying 12.10 - I got the same crash, however I cannot be 100% sure everything was removed.

I don't fancy posting my CL code here, but iI heard you can submit code online to AMD somewhere (?)

Outcomes