Jakob Stoklund Olesen 4c8373f54e Print out the location of expanded multiclass defs in TableGen errors.
When reporting an error for a defm, we would previously only report the
location of the outer defm, which is not always where the error is.

Now we also print the location of the expanded multiclass defs:

lib/Target/X86/X86InstrSSE.td:2902:12: error: foo
  defm ADD : basic_sse12_fp_binop_s<0x58, "add", fadd, SSE_ALU_ITINS_S>,
             ^
lib/Target/X86/X86InstrSSE.td:2801:11: note: instantiated from multiclass
  defm PD : sse12_fp_packed<opc, !strconcat(OpcodeStr, "pd"), OpNode, VR128,
            ^
lib/Target/X86/X86InstrSSE.td:194:5: note: instantiated from multiclass
    def rm : PI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2),
        ^

llvm-svn: 162409
2012-08-22 23:33:58 +00:00
..
2012-02-22 19:38:03 +00:00
2010-11-29 18:16:10 +00:00
2009-02-20 23:44:54 +00:00
2012-07-23 08:51:15 +00:00
2012-07-23 08:51:15 +00:00
2012-04-03 23:09:22 +00:00
2007-12-29 20:37:13 +00:00
2012-03-23 05:50:46 +00:00
2007-12-29 20:37:13 +00:00
2010-08-04 16:11:24 +00:00
2012-01-26 22:06:23 +00:00