[llvm-dev] How to interpret Selection DAG error output

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 18 10:43:43 PST 2016


I recently had to change some DAG patterns for my target. Conceptually I
understand what DAG patterns are and what is their purpose, however given
that I have quite vague understanding about how to LLVM implements and
specifies them, naturally I got an error. Here it is

Here is the error:

LLVM ERROR: Cannot select: 0x3284268: glue = EsenciaISD::SET_FLAG
0x3283608, 0x3283710, 0x3283e48 [ORD=3] [ID=11]
  0x3283608: i32,ch = CopyFromReg 0x3257980, 0x3283500 [ORD=1] [ID=9]
    0x3283500: i32 = Register %vreg5 [ID=1]
  0x3283710: i32 = Constant<3> [ID=2]
  0x3283e48: i32 = Constant<20> [ID=8]
In function: fib

As far as I can understand LLVM cannot select it because the pattern is not
specified. Unfortunately for me, I can't understand how to interpret this
output. Would anybody be able to help me out?

Any help is appreciated.

-- 
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160218/1a6a4d60/attachment.html>


More information about the llvm-dev mailing list