summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove the AsmWriterEmitter (unused) feature that rely on TargetSubtargetInfo.Evan Cheng2011-07-063-151/+6
| | | | llvm-svn: 134457
* Revert r134366 and add an explicit triple to make this test host-independent.Dan Gohman2011-07-051-4/+4
| | | | llvm-svn: 134447
* Remove the ObjC ARC passes from the default optimization list, and addDan Gohman2011-07-052-7/+9
| | | | | | extension points to be used by clang. llvm-svn: 134444
* Preserve debug loc.Devang Patel2011-07-052-2/+2
| | | | llvm-svn: 134441
* Speculatively revert r134431.Devang Patel2011-07-051-1/+0
| | | | llvm-svn: 134440
* Use memcmp.Benjamin Kramer2011-07-051-3/+1
| | | | llvm-svn: 134439
* Really fix typo :-(Rafael Espindola2011-07-051-1/+1
| | | | llvm-svn: 134436
* Fix typo.Rafael Espindola2011-07-051-2/+2
| | | | llvm-svn: 134433
* Clear debug loc while updating insert point.Devang Patel2011-07-051-0/+1
| | | | llvm-svn: 134431
* By default mkstemp() creates a temporary file with mode 0600, but the modeChad Rosier2011-07-051-0/+3
| | | | | | | | used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 llvm-svn: 134430
* Break infinite loop when the Hopfield network oscillates.Jakob Stoklund Olesen2011-07-051-8/+6
| | | | | | | | | | This is impossible in theory, I can prove it. In practice, our near-zero threshold can cause the network to oscillate between equally good solutions. <rdar://problem/9720596> llvm-svn: 134428
* Compare all 4 bytes of the header.Rafael Espindola2011-07-051-2/+3
| | | | llvm-svn: 134427
* Add assembler/disassembler support for non-AVX pclmulqdq. While I'm here, ↵Eli Friedman2011-07-054-35/+58
| | | | | | use proper aliases for the pclmullqlqdq and friends. PR10269. llvm-svn: 134424
* indvars -disable-iv-rewrite: avoid multiple IVs in weird cases.Andrew Trick2011-07-051-18/+30
| | | | | | Putting back the helper that I removed on 7/1 to do this right. llvm-svn: 134423
* ARM estimateStackSize() needs to account for simplified call frames.Jim Grosbach2011-07-051-7/+39
| | | | | | | | | | | | If the function allocates reserved stack space for callee argument frames, estimateStackSize() needs to account for that, as it doesn't show up as ordinary frame objects. Otherwise, a callee with a large argument list will throw off the calculations for whether to allocate an emergency spill slot and we get assert() failures in the register scavenger. rdar://9715469 llvm-svn: 134415
* Fix PR10277.Jakob Stoklund Olesen2011-07-053-0/+108
| | | | | | | | | | | | | | | Remat during spilling triggers dead code elimination. If a phi-def becomes unused, that may also cause live ranges to split into separate connected components. This type of splitting is different from normal live range splitting. In particular, there may not be a common original interval. When the split range is its own original, make sure that the new siblings are also their own originals. The range being split cannot be used as an original since it doesn't cover the new siblings. llvm-svn: 134413
* Tweak comment and debug output.Jakob Stoklund Olesen2011-07-051-2/+3
| | | | llvm-svn: 134412
* Fix 80-col.Michael J. Spencer2011-07-051-3/+12
| | | | llvm-svn: 134409
* Fix warnings.Michael J. Spencer2011-07-051-3/+3
| | | | llvm-svn: 134408
* SuccIterator on bbs without terminator instsTobias Grosser2011-07-041-3/+11
| | | | | | | | | Remove the assert that triggers if SuccIterator is constructed for a basic block without a terminator instruction. Instead of triggering an assert a succ_end() iterator is returned. This models a basic block with zero successors and allows us to use F->viewCFG() on incompletely constructed functions. llvm-svn: 134398
* PR10267: Don't combine an equality compare with an AND into an inequality ↵Benjamin Kramer2011-07-042-1/+17
| | | | | | | | compare when the AND has more than one use. This can pessimize code, inequalities are generally more expensive. llvm-svn: 134379
* Remove accidentaly left node from previous iteration of the patch.Roman Divacky2011-07-041-3/+0
| | | | | | Noticed by Benjamin Kramer! llvm-svn: 134376
* Move early tail duplication earlier.Rafael Espindola2011-07-041-6/+6
| | | | | | | | | | | | | | This fixes the issue noted in PR10251 where early tail dup of bbs with indirectbr would cause a bb to be duplicated into a loop preheader and then into its predecessors, creating phi nodes with identical operands just before register allocation. This helps with jsinterp.o size (__TEXT goes from 163568 to 126656) and a bit with performance 1.005x faster on sunspider (jits still enabled). The result on webkit with the jit disabled is more significant: 1.021x faster. llvm-svn: 134372
* Move most of the pre BB code to TailDuplicateAndUpdate. Change theRafael Espindola2011-07-041-112/+125
| | | | | | HasIndirectbr variable to be just that. No functionality change. llvm-svn: 134371
* Reduce indentation and fix the count of how many PHIs we have inserted.Rafael Espindola2011-07-041-75/+80
| | | | llvm-svn: 134370
* Fix PR10244.Jakob Stoklund Olesen2011-07-041-4/+4
| | | | | | | | | | | | A split point inserted in a block with a landing pad successor may be hoisted above the call to ensure that it dominates all successors. The code that handles the rest of the basic block must take this into account. I am not including a test case, it would be very fragile. PR10244 comes from building clang with exceptions enabled. llvm-svn: 134369
* Make the i64 and f64 be 64bit ABI aligned in the target description.Roman Divacky2011-07-031-1/+1
| | | | | | This is what both the ABI and clang says. llvm-svn: 134367
* test/CodeGen/X86/lsr-nonaffine.ll: Relax expressions for Win64 CC to appease ↵NAKAMURA Takumi2011-07-031-3/+3
| | | | | | Win32 hosts. llvm-svn: 134366
* Fix an easy fixme.Rafael Espindola2011-07-031-6/+10
| | | | llvm-svn: 134364
* FileCheck-ize another test. Reduces the llc invocations from 8 to 1, andChandler Carruth2011-07-021-8/+41
| | | | | | | makes one of the tests actually mean something (as the string 'add' will always appear in the output of this file). llvm-svn: 134358
* Avoid writing to an arbitrary filename during the test run by writing toChandler Carruth2011-07-021-8/+8
| | | | | | a file descriptor. llvm-svn: 134355
* FileCheck-ize another X86 test, making it more precisely verify theChandler Carruth2011-07-021-13/+24
| | | | | | desired result based on the comments in the file. llvm-svn: 134354
* Quote two greps which contain parentheses.Chandler Carruth2011-07-022-2/+2
| | | | llvm-svn: 134353
* FileCheck-ize and simplify RUN lines.Chandler Carruth2011-07-021-4/+3
| | | | llvm-svn: 134352
* FileCheck-izeChandler Carruth2011-07-021-1/+6
| | | | llvm-svn: 134351
* FileCheck-ize and tighten up assertions to only check the relevant sections.Chandler Carruth2011-07-021-3/+11
| | | | llvm-svn: 134350
* FileCheck-ize and cleanup IR.Chandler Carruth2011-07-021-5/+9
| | | | llvm-svn: 134349
* FileCheck-izeChandler Carruth2011-07-021-3/+8
| | | | llvm-svn: 134348
* Remove a grep that is already checked with FileCheck.Chandler Carruth2011-07-021-1/+1
| | | | llvm-svn: 134346
* FileCheck-izeChandler Carruth2011-07-021-2/+6
| | | | llvm-svn: 134345
* FileCheck-ize and modernize IR.Chandler Carruth2011-07-021-6/+12
| | | | llvm-svn: 134344
* FileCheck-ize and simplify RUNs.Chandler Carruth2011-07-021-5/+8
| | | | llvm-svn: 134343
* FileCheck-ize and modernize the RUN line.Chandler Carruth2011-07-021-3/+6
| | | | llvm-svn: 134342
* FileCheck-ize, tightening checks and avoiding a temporary file.Chandler Carruth2011-07-021-6/+9
| | | | llvm-svn: 134341
* FileCheck-ize, tightening checks and avoiding a temporary file.Chandler Carruth2011-07-021-6/+9
| | | | llvm-svn: 134340
* FileCheck-izeChandler Carruth2011-07-021-1/+5
| | | | llvm-svn: 134339
* FileCheck-izeChandler Carruth2011-07-021-1/+6
| | | | llvm-svn: 134338
* FileCheck-ize a test, avoiding a temporary file.Chandler Carruth2011-07-021-4/+9
| | | | llvm-svn: 134337
* FileCheck-ize and simplify this test.Chandler Carruth2011-07-021-5/+9
| | | | llvm-svn: 134336
* FileCheck-izeChandler Carruth2011-07-021-1/+2
| | | | llvm-svn: 134335
OpenPOWER on IntegriCloud