[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-06-19 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.297 - 1.298 --- Log message: silence warning when assertions are disabled. --- Diffs of the changes: (+1 -2) DAGISelEmitter.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index:

Re: [llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-15 Thread Evan Cheng
On May 14, 2007, at 10:57 PM, Chris Lattner wrote: PredicateOperand related bug fix. @@ -2899,7 +2901,7 @@ else if (NodeHasOptInFlag) EndAdjust = -(HasInFlag?1:0); // May have a flag. - emitCode(for (unsigned i = + utostr(NumInputs) + +

Re: [llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-15 Thread Chris Lattner
If the bug was with ISD::Constant's, this is a serious bug and this is not the right fix. Huh? It has nothing to do with ISD::Constants. Remember PredicateOperand with ExecuteAlways value is not part of the target independent DAG. So something like this: def BL : I(ops i32imm:$func,

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-14 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.295 - 1.296 --- Log message: PredicateOperand related bug fix. --- Diffs of the changes: (+3 -1) DAGISelEmitter.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.296 - 1.297 --- Log message: Fix CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll, the other recent patches are also needed. --- Diffs of the changes: (+7 -5) DAGISelEmitter.cpp | 12 +++- 1 files changed,

Re: [llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-14 Thread Chris Lattner
PredicateOperand related bug fix. @@ -2899,7 +2901,7 @@ else if (NodeHasOptInFlag) EndAdjust = -(HasInFlag?1:0); // May have a flag. - emitCode(for (unsigned i = + utostr(NumInputs) + + emitCode(for (unsigned i = + utostr(NumInputs -

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.294 - 1.295 --- Log message: If a PredicateOperand has an empty ExecuteAlways field, treat it as if a normal operand for isel. --- Diffs of the changes: (+9 -4) DAGISelEmitter.cpp | 13 + 1 files

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-04-26 Thread Lauro Ramos Venancio
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.293 - 1.294 --- Log message: bugfix: remember that ResNode was declared. --- Diffs of the changes: (+3 -2) DAGISelEmitter.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-04-20 Thread Lauro Ramos Venancio
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.292 - 1.293 --- Log message: Implement general dynamic, initial exec and local exec TLS models for X86 32 bits. --- Diffs of the changes: (+5 -2) DAGISelEmitter.cpp |7 +-- 1 files changed, 5 insertions(+), 2

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-01-26 Thread Jim Laskey
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.291 - 1.292 --- Log message: Make the constant honest. --- Diffs of the changes: (+3 -1) DAGISelEmitter.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-01-16 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.289 - 1.290 --- Log message: Make tblgen error more useful. Patch by B. Scott Michel --- Diffs of the changes: (+4 -1) DAGISelEmitter.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.281 - 1.282 --- Log message: Fix a bug handling nodes with variable arguments. The code was fixed to assume that there were two input operands before the variable operand portion. This *happened* to be true for all call

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.282 - 1.283 --- Log message: changes to get ptr_rc to be accepted in patterns. This is needed for ppc preinc stores. --- Diffs of the changes: (+22 -8) DAGISelEmitter.cpp | 30 ++ 1

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.284 - 1.285 --- Log message: remove some dead code --- Diffs of the changes: (+2 -9) DAGISelEmitter.cpp | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.285 - 1.286 --- Log message: minimal hack to get patterns whose result type is iPTR to be selected. --- Diffs of the changes: (+16 -0) DAGISelEmitter.cpp | 16 1 files changed, 16 insertions(+)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.286 - 1.287 --- Log message: restore some 'magic' code that I removed: it is needed. Add comments explaining why. --- Diffs of the changes: (+22 -10) DAGISelEmitter.cpp | 32 ++-- 1

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.279 - 1.280 --- Log message: Always pass the root node to ComplexPattern isel matching function. --- Diffs of the changes: (+3 -4) DAGISelEmitter.cpp |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.280 - 1.281 --- Log message: Divide select methods into groups by SelectionDAG node opcodes (ISD::ADD, X86ISD::CMP, etc.) instead of SDNode names (add, x86cmp, etc). We now allow multiple SDNodes to map to the same

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp Record.cpp SubtargetEmitter.cpp

2006-11-02 Thread Reid Spencer
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.274 - 1.275 Record.cpp updated: 1.53 - 1.54 SubtargetEmitter.cpp updated: 1.19 - 1.20 --- Log message: For PR786: http://llvm.org/PR786 : Remove unused variables. --- Diffs of the changes: (+3 -8) DAGISelEmitter.cpp

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-02 Thread Reid Spencer
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.275 - 1.276 --- Log message: Revert last patch which causes tblgen to segfault (why, I'm not sure). --- Diffs of the changes: (+6 -2) DAGISelEmitter.cpp |8 ++-- 1 files changed, 6 insertions(+), 2

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-11-02 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.276 - 1.277 --- Log message: silence warnings --- Diffs of the changes: (+1 -5) DAGISelEmitter.cpp |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-31 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.273 - 1.274 --- Log message: Not meant to be checked in. --- Diffs of the changes: (+1 -5) DAGISelEmitter.cpp |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-16 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.271 - 1.272 --- Log message: Passing isel root and use operands to ComplexPattern functions, these should do the usual load folding checks as well. --- Diffs of the changes: (+28 -14) DAGISelEmitter.cpp | 42

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-14 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.270 - 1.271 --- Log message: When checking if a load can be folded, we check if there is any non-direct way to reach the load via any nodes that would be folded. Start from the root of the matched sub-tree. --- Diffs of

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.268 - 1.269 --- Log message: Use RemoveDeadNode to kill dead node. --- Diffs of the changes: (+4 -12) DAGISelEmitter.cpp | 16 1 files changed, 4 insertions(+), 12 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.269 - 1.270 --- Log message: Really remove dead nodes from isel queue. --- Diffs of the changes: (+2 -1) DAGISelEmitter.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-11 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.267 - 1.268 --- Log message: Prior load folding check on chain operand was too strict. It requires the chain operand to point to the load being folded. Now we relax this, traversing up the chain, if it doesn't reach the

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-10 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.264 - 1.265 --- Log message: Split some code out into a new method. The generated code is exactly identical, this is just a refactoring. --- Diffs of the changes: (+99 -92) DAGISelEmitter.cpp | 191

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-10 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.265 - 1.266 --- Log message: Special case tblgen generated code for patterns like (and X, 255) or (or X, 42). The dag/inst combiners often 'simplify' the masked value based on whether or not the bits are live or known

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-10-09 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.263 - 1.264 --- Log message: Predicate function on the node should be matched before its childrean' matching code. This is especially important now matching ISD::LOAD also requires a Predicate_Load call. --- Diffs of the

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-21 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.262 - 1.263 --- Log message: don't allow 'imm' or specific imms, like '1' on the LHS of a binop. This shrinks X86GenDAGISel by ~330 lines. --- Diffs of the changes: (+13 -4) DAGISelEmitter.cpp | 17 +

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.259 - 1.260 --- Log message: Add result of a Xform to isel queue. --- Diffs of the changes: (+1 -0) DAGISelEmitter.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.260 - 1.261 --- Log message: Allow PatFrag to be a leaf node. --- Diffs of the changes: (+18 -10) DAGISelEmitter.cpp | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp FileLexer.cpp.cvs FileLexer.l FileLexer.l.cvs

2006-09-18 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.256 - 1.257 FileLexer.cpp.cvs updated: 1.6 - 1.7 FileLexer.l updated: 1.30 - 1.31 FileLexer.l.cvs updated: 1.5 - 1.6 --- Log message: Fix Regression/TableGen/2006-09-18-LargeInt.td --- Diffs of the changes: (+9 -7)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-18 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.257 - 1.258 --- Log message: There! --- Diffs of the changes: (+0 -2) DAGISelEmitter.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-18 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.258 - 1.259 --- Log message: If multiple predicates are listed, they must all pass --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-14 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.255 - 1.256 --- Log message: Relax this check. --- Diffs of the changes: (+10 -7) DAGISelEmitter.cpp | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-10 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.254 - 1.255 --- Log message: 1) With X86 lowering change, the following can no longer happen since the branch's chain is also produced by cmp. [ch, r : ld] ^ ^ | | [XX]--/ \-

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-09-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.253 - 1.254 --- Log message: Generated isel should favors explicit constant operand (+2) over an operand with a predicate (+1). --- Diffs of the changes: (+4 -5) DAGISelEmitter.cpp |9 - 1 files changed, 4

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-27 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.252 - 1.253 --- Log message: Use compiler.h instead of hand rolling our own macro --- Diffs of the changes: (+4 -9) DAGISelEmitter.cpp | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-26 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.250 - 1.251 --- Log message: SelectNodeTo now returns a SDNode*. --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-08-25 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.245 - 1.246 DAGISelEmitter.h updated: 1.67 - 1.68 --- Log message: - Clean up tablegen dag isel generator code. - Clean up the code generated by tablegen: * AddToISelQueue now takes one argument. * ComplexPattern

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-16 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.244 - 1.245 --- Log message: SelectNodeTo() may return a SDOperand that is different from the input. --- Diffs of the changes: (+1 -4) DAGISelEmitter.cpp |5 + 1 files changed, 1 insertion(+), 4 deletions(-)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-15 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.242 - 1.243 --- Log message: allow Select to return the node being selected if RAU isn't needed. --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-15 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.243 - 1.244 --- Log message: The generated runloop shouldn't require Select to update 'Result'. In fact we'd like to remove result entirely. --- Diffs of the changes: (+6 -3) DAGISelEmitter.cpp |9 ++--- 1

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-11 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.240 - 1.241 --- Log message: - Prevent some functions from being inlined to eliminate the code size bloat introduced by previous commit. - SelectCode now returns a SDNode*. If it is not null, the selected node produces

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-11 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.241 - 1.242 --- Log message: Use SmallVector instead. --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-09 Thread Tanya Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.238 - 1.239 --- Log message: Reverting back to original 1.8 version so I can manually merge in patch. --- Diffs of the changes: (+503 -398) DAGISelEmitter.cpp | 901

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-09 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.239 - 1.240 --- Log message: Revert previous patch --- Diffs of the changes: (+398 -503) DAGISelEmitter.cpp | 901 +++-- 1 files changed, 398 insertions(+), 503

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-07 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.237 - 1.238 --- Log message: Start eliminating temporary vectors used to create DAG nodes. Instead, pass in the start of an array and a count of operands where applicable. In many cases, the number of operands is known,

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-02 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.234 - 1.235 --- Log message: Really add support for compilers without noinline --- Diffs of the changes: (+2 -0) DAGISelEmitter.cpp |2 ++ 1 files changed, 2 insertions(+) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-08-02 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.235 - 1.236 --- Log message: Remove some extraneous newlines. --- Diffs of the changes: (+2 -2) DAGISelEmitter.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-31 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.232 - 1.233 --- Log message: Remove an unneeded match condition: the type check for root node has been moved to outside the actual select routine. --- Diffs of the changes: (+22 -7) DAGISelEmitter.cpp | 29

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-31 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.233 - 1.234 --- Log message: Pass N by reference to select functions to prevent gcc from allocating more stack. --- Diffs of the changes: (+3 -3) DAGISelEmitter.cpp |6 +++--- 1 files changed, 3 insertions(+), 3

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-28 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.231 - 1.232 --- Log message: Split each select function for a particular opcode into multiple ones. One per possible ValueType of the node. e.g. Select_add is split into Select_add_i8, Select_add_i16, etc. For opcodes

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-27 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.226 - 1.227 --- Log message: Let each target specific isel provide routine to check if a chain producing node is foldable by another. --- Diffs of the changes: (+2 -8) DAGISelEmitter.cpp | 10 ++ 1 files

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-27 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.228 - 1.229 --- Log message: Remove InFlightSet hack. No longer needed. --- Diffs of the changes: (+0 -46) DAGISelEmitter.cpp | 46 -- 1 files changed, 46 deletions(-)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-27 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.230 - 1.231 --- Log message: Clean up. --- Diffs of the changes: (+2 -3) DAGISelEmitter.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-26 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.225 - 1.226 --- Log message: Fix for bug 840: http://llvm.org/PR840 . Only use noinline attribute if gcc version = 3.4 --- Diffs of the changes: (+6 -3) DAGISelEmitter.cpp |9 ++--- 1 files changed, 6

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-21 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.224 - 1.225 --- Log message: Removed a hack intended to allow (store (op (load))) folding. Will handle this with preprocessing. --- Diffs of the changes: (+7 -52) DAGISelEmitter.cpp | 59

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-20 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.223 - 1.224 --- Log message: Also checks for noResults field. --- Diffs of the changes: (+4 -1) DAGISelEmitter.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-18 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.222 - 1.223 --- Log message: Add code size to target instruction use it as the 3rd isel sorting tie-breaker. --- Diffs of the changes: (+25 -3) DAGISelEmitter.cpp | 28 +--- 1 files changed,

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-11 Thread Jim Laskey
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.217 - 1.218 --- Log message: Ensure that dump calls that are associated with asserts are removed from non-debug build. --- Diffs of the changes: (+4 -4) DAGISelEmitter.cpp |8 1 files changed, 4

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-07-11 Thread Jim Laskey
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.218 - 1.219 --- Log message: It was pointed out that DEBUG() is only available with -debug. --- Diffs of the changes: (+12 -4) DAGISelEmitter.cpp | 16 1 files changed, 12 insertions(+), 4

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-06-19 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.214 - 1.215 --- Log message: Don't require src/dst patterns to be able to fully resolve their types, because information about one can help refine the other. This allows us to write: def : Pat(i32 (extload xaddr:$src,

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-06-19 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.215 - 1.216 --- Log message: Fix an error message regression. Print: LI8:(LI8:i64 (imm:i64):$imm) instead of: LI8:(LI8:MVT::i64 (imm:MVT::i64):$imm) --- Diffs of the changes: (+8 -1) DAGISelEmitter.cpp |

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-06-16 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.212 - 1.213 --- Log message: Improve a comment. --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-06-14 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.209 - 1.210 --- Log message: Fix support for optional input flag. --- Diffs of the changes: (+11 -17) DAGISelEmitter.cpp | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-06-09 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.207 - 1.208 --- Log message: Wrap to 80 cols --- Diffs of the changes: (+5 -4) DAGISelEmitter.cpp |9 + 1 files changed, 5 insertions(+), 4 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-05-25 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.206 - 1.207 --- Log message: Can't trust NodeDepth when checking for possibility of load folding creating a cycle. This increase the search space and will increase compile time (in practice it appears to be small, e.g.

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-05-24 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.205 - 1.206 --- Log message: Fixed a really ugly bug. The TableGen'd isel is not freeing the inflight set correctly. That is causing non-deterministic behavior (and possibly preventing some load folding from happening).

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-05-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.204 - 1.205 --- Log message: Now that iPTR is a fully resolved type. We end up losing the type check for patterns that look like this: def : Pat(i32 (X86Wrapper tconstpool :$dst)), (MOV32ri tconstpool :$dst);

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-05-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.201 - 1.202 --- Log message: Unused instruction --- Diffs of the changes: (+0 -1) DAGISelEmitter.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-04-28 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.198 - 1.199 --- Log message: Remove the temporary option: -no-isel-fold-inflight --- Diffs of the changes: (+1 -2) DAGISelEmitter.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-04-27 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.197 - 1.198 --- Log message: When isel'ing a node, mark its operands InFlight before selecting them. These nodes should not be folded into other nodes. This fixes the miscompilation of PR 749: http://llvm.cs.uiuc.edu/PR749

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-04-22 Thread Nate Begeman
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.196 - 1.197 --- Log message: JumpTable support! What this represents is working asm and jit support for x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-04-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.194 - 1.195 DAGISelEmitter.h updated: 1.61 - 1.62 --- Log message: Allow let AddedCost = n in to increase pattern complexity. --- Diffs of the changes: (+21 -7) DAGISelEmitter.cpp | 21 -

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-04-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.195 - 1.196 DAGISelEmitter.h updated: 1.62 - 1.63 --- Log message: Rename AddedCost to AddedComplexity. --- Diffs of the changes: (+15 -13) DAGISelEmitter.cpp | 18 +- DAGISelEmitter.h | 10

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-04-06 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.192 - 1.193 --- Log message: rename a method, to avoid confusion with llvm intrinsics. --- Diffs of the changes: (+3 -4) DAGISelEmitter.cpp |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-04-06 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.193 - 1.194 --- Log message: Infer element types for shuffle masks --- Diffs of the changes: (+20 -0) DAGISelEmitter.cpp | 20 1 files changed, 20 insertions(+) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp FileParser.y Record.h Record.cpp

2006-03-30 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.190 - 1.191 FileParser.y updated: 1.40 - 1.41 Record.h updated: 1.55 - 1.56 Record.cpp updated: 1.51 - 1.52 --- Log message: Implement Regression/TableGen/DagDefSubst.ll --- Diffs of the changes: (+45 -41)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-30 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.191 - 1.192 --- Log message: Allow bits init values to be used in patterns, turn them into ints. --- Diffs of the changes: (+19 -0) DAGISelEmitter.cpp | 19 +++ 1 files changed, 19 insertions(+)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-27 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.189 - 1.190 --- Log message: Tblgen doesn't like multiple SDNode definitions that map to the sameenum value. Split them into separate enums. Also, don't emit dynamic checks when we can compute them statically ---

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-03-24 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.183 - 1.184 DAGISelEmitter.h updated: 1.59 - 1.60 --- Log message: Parse intrinsics correctly and perform type propagation. This doesn't currently emit the code to select intrinsics, but that is next :) --- Diffs of the

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-24 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.184 - 1.185 --- Log message: fix 80 column violations --- Diffs of the changes: (+6 -5) DAGISelEmitter.cpp | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-03-24 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.185 - 1.186 DAGISelEmitter.h updated: 1.60 - 1.61 --- Log message: Change approach so that we get codegen for free for intrinsics. With this, intrinsics that don't take pointer arguments now work. For example, we can

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-22 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.182 - 1.183 --- Log message: Allow result node to be a simple leaf node. This enable bitconvert patterns like this: def : Pat(v4i32 (bitconvert (v4f32 VR128:$src))), (v4i32 VR128:$src); --- Diffs of the changes: (+9 -4)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-20 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.178 - 1.179 --- Log message: It should be ok for a xform output type to be different from input type. --- Diffs of the changes: (+17 -5) DAGISelEmitter.cpp | 22 +- 1 files changed, 17

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-20 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.179 - 1.180 --- Log message: The node wrapped in PatLeaf should be treated as a leaf even if it isn't one, i.e. don't select it. --- Diffs of the changes: (+11 -4) DAGISelEmitter.cpp | 15 +++ 1 files

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-20 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.180 - 1.181 --- Log message: minor code simplification --- Diffs of the changes: (+5 -11) DAGISelEmitter.cpp | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) Index:

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-03-19 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.176 - 1.177 DAGISelEmitter.h updated: 1.57 - 1.58 --- Log message: Add a new SDTCisIntVectorOfSameSize type constraint --- Diffs of the changes: (+23 -3) DAGISelEmitter.cpp | 21 +++--

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-03-19 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.177 - 1.178 DAGISelEmitter.h updated: 1.58 - 1.59 --- Log message: Copy matching pattern's output type info to instruction result pattern. The instruction patterns do not contain enough information to resolve the exact

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-03-09 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.175 - 1.176 --- Log message: Temporary hack to enable more (store (op (load ...))) folding. This makes it possible when a TokenFactor is between the load and store. But is still missing some cases due to ordering issue.

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-17 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.172 - 1.173 --- Log message: Bump up pattern cost if the resulting instruction is marked usesCustomDAGSchedInserter. --- Diffs of the changes: (+14 -7) DAGISelEmitter.cpp | 21 ++--- 1 files changed,

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-09 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.171 - 1.172 --- Log message: Call InsertISelMapEntry rather than map insertion operator to prevent overly aggrssive inlining. This reduces Select_store frame size from 24k to 10k. --- Diffs of the changes: (+64 -45)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.169 - 1.170 --- Log message: Change Select() from SDOperand Select(SDOperand N); to void Select(SDOperand Result, SDOperand N); --- Diffs of the changes: (+98 -69) DAGISelEmitter.cpp | 167

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp DAGISelEmitter.h

2006-02-08 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.170 - 1.171 DAGISelEmitter.h updated: 1.56 - 1.57 --- Log message: Match getTargetNode() changes (now returns SDNode* instead of SDOperand). --- Diffs of the changes: (+47 -40) DAGISelEmitter.cpp | 85

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-05 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.166 - 1.167 --- Log message: Name change. --- Diffs of the changes: (+4 -4) DAGISelEmitter.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/utils/TableGen/DAGISelEmitter.cpp diff -u

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-04 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.161 - 1.162 --- Log message: Complex pattern's custom matcher should not call Select() on any operands. Select them afterwards if it returns true. --- Diffs of the changes: (+5 -0) DAGISelEmitter.cpp |5 + 1

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2006-02-04 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.162 - 1.163 --- Log message: Temporarily revert the last change, which breaks PPC and other targets that DO select things. --- Diffs of the changes: (+4 -3) DAGISelEmitter.cpp |7 --- 1 files changed, 4

  1   2   >