summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Turn on the new isel by default. Here are some fun numbersChris Lattner2010-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | with a release-asserts build on x86-64-darwin10: LLC Size: Old: 15,426,852 New: 12,759,140 (down 2.7M) LLI Size: Old: 9,926,876 New: 8,864,292 (down 1.1M) X86ISelDAGToDAG.o size: Old: 1,401,232 New: 162,868 (down 1.3M) Time to build X86ISelDAGToDAG.o: Old: 67.147u 2.060s 1:09.78 New: 4.234u 0.387s 0:04.77 llvm-svn: 97475
* Remove dead test.Devang Patel2010-03-011-147/+0
| | | | llvm-svn: 97474
* Replace test case that uses @llvm.dbg.* intrinsic with a test that uses ↵Devang Patel2010-03-012-62/+151
| | | | | | metadata. llvm-svn: 97473
* Missed a \n in previous commit.Torok Edwin2010-03-011-0/+1
| | | | llvm-svn: 97472
* When instantiating a function-scoped enum, make sure that it and itsDouglas Gregor2010-03-013-1/+26
| | | | | | | enumeration constants get placed into the local instantiation hash table. Fixes PR6375. llvm-svn: 97471
* Add command-line flag to tblgen to turn off generating comments for the newTorok Edwin2010-03-011-57/+117
| | | | | | | isel (defaults it to generate comments). This reduces the size of the generated source file. llvm-svn: 97470
* Accelerate isel dispatch for tables that start with a top-level Chris Lattner2010-03-012-1/+40
| | | | | | | OPC_SwitchOpcode to use a table lookup instead of having to go through the interpreter for this. llvm-svn: 97469
* These two tests check whether oprimizer safely ignores @llvm.dbg.stoppoint ↵Devang Patel2010-03-012-205/+0
| | | | | | intrinsic or not. This intrinsic is not used anymore. llvm-svn: 97468
* Don't potentially read past the end of the fill data when making a NaN fromJohn McCall2010-03-011-1/+2
| | | | | | an APInt. llvm-svn: 97467
* This test checks whether LICM ignores @llvm.dbg.stoppoint intrinsics ↵Devang Patel2010-03-011-83/+0
| | | | | | appropriately or not. Now, llvm does not use this intrinsic. Remove this test. llvm-svn: 97466
* Rewrite test to test VLA using new debug info encoding scheme.Devang Patel2010-03-011-62/+71
| | | | llvm-svn: 97465
* Remove this generic debug info intrinsic test. LLVM does not use this ↵Devang Patel2010-03-011-19/+0
| | | | | | llvm.dbg.stoppoint intrinsic anymore. There are tests to check new implementation, which attaches location information directly with an instruction using metadata. llvm-svn: 97464
* Robustify instantiation of templates when there are errors in theDouglas Gregor2010-03-015-6/+66
| | | | | | | | | template definition. Do this both by being more tolerant of errors in our asserts and by not dropping a variable declaration completely when its initializer is ill-formed. Fixes the crash-on-invalid in PR6375, but not the original issue. llvm-svn: 97463
* Don't infinite-loop if TryAnnotateCXXScopeToken fails to annotate but doesn'tJohn McCall2010-03-012-0/+6
| | | | | | | | | signal an error. This can happen even when the current token is '::' if this is a ::new or ::delete expression. This was an oversight in my recent parser refactor; fixes PR 5825. llvm-svn: 97462
* Fix optimization of ISD::TRUNCATE on vector operands. Based on a patchDan Gohman2010-03-011-4/+5
| | | | | | by Micah Villmow for PR6335. llvm-svn: 97461
* Add explicit keywords.Dan Gohman2010-03-012-2/+3
| | | | llvm-svn: 97460
* Add a comment.Dan Gohman2010-03-011-1/+5
| | | | llvm-svn: 97459
* Add some debug output to LoopSimplify.Dan Gohman2010-03-011-0/+30
| | | | llvm-svn: 97458
* Add the alignstack keyword.Dan Gohman2010-03-011-0/+1
| | | | llvm-svn: 97457
* LLVM instruction syntax doesn't have trailing semicolons.Dan Gohman2010-03-011-5/+5
| | | | llvm-svn: 97456
* svn:ignore fixes.Dan Gohman2010-03-010-0/+0
| | | | llvm-svn: 97455
* Spelling fixes.Dan Gohman2010-03-011-1/+1
| | | | llvm-svn: 97454
* Spelling fixes.Dan Gohman2010-03-017-45/+45
| | | | llvm-svn: 97453
* Whitespace cleanups.Dan Gohman2010-03-011-24/+24
| | | | llvm-svn: 97452
* Use Doxygen comment syntax.Dan Gohman2010-03-011-2/+2
| | | | llvm-svn: 97451
* This is now done.Dan Gohman2010-03-011-5/+0
| | | | llvm-svn: 97450
* Fix a missing newline in debug output.Dan Gohman2010-03-011-1/+1
| | | | llvm-svn: 97449
* Prune #includes.Dan Gohman2010-03-011-1/+0
| | | | llvm-svn: 97448
* Fix spelling.Dan Gohman2010-03-011-12/+12
| | | | llvm-svn: 97447
* Don't print "Modified" for passes which haven't modified anything.Dan Gohman2010-03-011-6/+12
| | | | llvm-svn: 97446
* Finish pushing source-location information though TreeTransform'sDouglas Gregor2010-03-012-8/+17
| | | | | | TransformDefinition. llvm-svn: 97445
* When looking for the instantiated declaration that corresponds to aDouglas Gregor2010-03-016-42/+105
| | | | | | | given declaration in a template, make sure that the context we're searching through is complete. Fixes PR6376. llvm-svn: 97444
* Add JIT support to the TODO list (test commit)Nathan Keynes2010-03-011-0/+1
| | | | llvm-svn: 97443
* Emit type checks late instead of early, this encouragesChris Lattner2010-03-011-1/+6
| | | | | | | structural matching code to be factored and shared this shrinks the X86 isel table from 86537 to 83890 bytes. llvm-svn: 97442
* some trivial microoptimizations.Chris Lattner2010-03-012-9/+18
| | | | llvm-svn: 97441
* Emit a redundant check for immediates at root context, e.g. (imm 0).Chris Lattner2010-03-012-2/+10
| | | | | | | | This allows formation of OpcodeSwitch for top level patterns, in particular on X86. This saves about 1K of data space in the x86 table and makes the dispatch much more efficient. llvm-svn: 97440
* eliminate the CheckMultiOpcodeMatcher code and have each Chris Lattner2010-03-018-88/+46
| | | | | | | | | ComplexPattern at the root be generated multiple times, once for each opcode they are part of. This encourages factoring because the opcode checks get treated just like everything else in the matcher. llvm-svn: 97439
* add a new OPC_SwitchOpcode which is semantically equivalentChris Lattner2010-03-016-11/+180
| | | | | | | | | | | | to a scope where every child starts with a CheckOpcode, but executes more efficiently. Enhance DAGISelMatcherOpt to form it. This also fixes a bug in CheckOpcode: apparently the SDNodeInfo objects are not pointer comparable, we have to compare the enum name. llvm-svn: 97438
* Since now we store the cast type with an ElementRegion, there isZhongxing Xu2010-03-017-42/+26
| | | | | | no need to store a type with SymbolRegionValue. llvm-svn: 97437
* Assert when loading from a code text region instead of returning an unknown ↵Zhongxing Xu2010-03-011-1/+3
| | | | | | silently. llvm-svn: 97436
* Add comments.Zhongxing Xu2010-03-011-0/+4
| | | | llvm-svn: 97435
* pull MarkFlagResult out from between an EmitNode/CompleteMatchChris Lattner2010-03-011-1/+17
| | | | | | | pair. This encourages MorphNodeTo formation, this gets us 200 more MorphNodeTo's on X86 and shrinks the table a bit. llvm-svn: 97434
* enhance RecordNode and RecordChild comments to indicate whatChris Lattner2010-03-014-12/+30
| | | | | | slot they're recording into, no functionality change. llvm-svn: 97433
* Emit redundant opcode checks for andimm and orimm tests at rootChris Lattner2010-03-012-0/+27
| | | | | | | | | | | so that we get grouping at the top level. Add an optimization to reorder type check & record nodes after opcode checks. We prefer to expose tree shape matching which improves grouping and will enhance the next optimization. llvm-svn: 97432
* inline the node transforms and node predicates into the generatedChris Lattner2010-03-014-25/+71
| | | | | | | | dispatcher method. This eliminates the dependence of the new isel's generated code on the old isel's predicates, however some random hand written isel code still uses them. llvm-svn: 97431
* Don't warn about case-value conversions from a negative value to aDouglas Gregor2010-03-012-7/+12
| | | | | | | | larger unsigned value, since this is implementation-defined behavior. (We previously suppressed this warning when converting from a signed value to an unsigned value of the same size). llvm-svn: 97430
* simplify some code now that chain/flag results are not stored in Chris Lattner2010-02-283-13/+4
| | | | | | the vtlist for emitnode. llvm-svn: 97429
* don't emit useless functions. These were producingChris Lattner2010-02-281-47/+56
| | | | | | warnings in release-assert builds if there were no cases. llvm-svn: 97428
* 80-col violations/trailing whitespace.Mikhail Glushenkov2010-02-281-11/+12
| | | | llvm-svn: 97427
* eliminate GetInt1/2Chris Lattner2010-02-281-16/+3
| | | | llvm-svn: 97426
OpenPOWER on IntegriCloud