Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove exception handling usage from tblgen. | Joerg Sonnenberger | 2012-10-25 | 1 | -8/+0 |
| | | | | | | | | | | | Most places can use PrintFatalError as the unwinding mechanism was not used for anything other than printing the error. The single exception was CodeGenDAGPatterns.cpp, where intermediate errors during type resolution were ignored to simplify incremental platform development. This use is replaced by an error flag in TreePattern and bailout earlier in various places if it is set. llvm-svn: 166712 | ||||
* | In preparation for removing exception handling in tablegen, add | Joerg Sonnenberger | 2012-10-25 | 1 | -0/+12 |
| | | | | | | PrintFatalError, which combines PrintError with exit(1). llvm-svn: 166690 | ||||
* | Print out the location of expanded multiclass defs in TableGen errors. | Jakob Stoklund Olesen | 2012-08-22 | 1 | -4/+15 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Fix copy/paste-o. | Jim Grosbach | 2012-04-18 | 1 | -1/+1 |
| | | | | llvm-svn: 155016 | ||||
* | TableGen add warning diagnostic helper functions. | Jim Grosbach | 2012-04-18 | 1 | -0/+16 |
| | | | | llvm-svn: 155012 | ||||
* | Make SMDiagnostic a little more sane. Instead of passing around ↵ | Chris Lattner | 2011-10-16 | 1 | -2/+2 |
| | | | | | | | | note/warning/error as a string, pass it around as an enum. llvm-svn: 142107 | ||||
* | Move TableGen's parser and entry point into a library | Peter Collingbourne | 2011-10-01 | 1 | -0/+39 |
This is the first step towards splitting LLVM and Clang's tblgen executables. llvm-svn: 140951 |