| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Teach an instcombine to not pull trunc instructions through PHI nodes | Chris Lattner | 2009-11-08 | 1 | -10/+30 | |
| | | | | | | | | | | when both the source and dest are illegal types, since it would cause the phi to grow (for example, we shouldn't transform test14b's phi to a phi on i320). This fixes an infinite loop on i686 bootstrap with phi slicing turned on, so turn it back on. llvm-svn: 86483 | |||||
| * | Revert commit 81144, and add a comment. It caused bugpoint timeouts | Duncan Sands | 2009-11-08 | 1 | -3/+9 | |
| | | | | | | | not to work any more on linux. llvm-svn: 86481 | |||||
| * | reapply r8644[3-5] with only the scary part | Chris Lattner | 2009-11-08 | 1 | -8/+151 | |
| | | | | | | | (SliceUpIllegalIntegerPHI) disabled. llvm-svn: 86480 | |||||
| * | Speculatively revert r8644[3-5], they seem to be leading to infinite loops in | Daniel Dunbar | 2009-11-08 | 1 | -151/+8 | |
| | | | | | | | llvm-gcc bootstrap. llvm-svn: 86478 | |||||
| * | Add and-not (bic) patterns. Based heavily on patch by Brian Lucas! | Anton Korobeynikov | 2009-11-08 | 1 | -1/+31 | |
| | | | | | llvm-svn: 86471 | |||||
| * | Move OR patterns upper to all logical stuff. No functionality change. | Anton Korobeynikov | 2009-11-08 | 1 | -56/+56 | |
| | | | | | llvm-svn: 86470 | |||||
| * | Some nice peephole patterns. Based on patch by Brian Lucas! | Anton Korobeynikov | 2009-11-08 | 1 | -0/+7 | |
| | | | | | llvm-svn: 86469 | |||||
| * | Print tab before operand of jcc | Anton Korobeynikov | 2009-11-08 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86468 | |||||
| * | Fix invalid operand updates & implement post-inc memory operands | Anton Korobeynikov | 2009-11-08 | 2 | -16/+94 | |
| | | | | | llvm-svn: 86466 | |||||
| * | Throw an error when stack realignment stuff fails instead of silent | Anton Korobeynikov | 2009-11-08 | 1 | -3/+7 | |
| | | | | | | | code miscompilation llvm-svn: 86463 | |||||
| * | Remove ByteswapSCANFResults, it is dead. | Daniel Dunbar | 2009-11-08 | 1 | -76/+0 | |
| | | | | | llvm-svn: 86458 | |||||
| * | Moved some ManagedStatics out of the SlotIndexes header. | Lang Hames | 2009-11-08 | 1 | -2/+28 | |
| | | | | | llvm-svn: 86446 | |||||
| * | teach a couple of instcombine transformations involving PHIs to | Chris Lattner | 2009-11-08 | 1 | -8/+151 | |
| | | | | | | | | | not turn a PHI in a legal type into a PHI of an illegal type, and add a new optimization that breaks up insane integer PHI nodes into small pieces (PR3451). llvm-svn: 86443 | |||||
| * | We don't need to byteswap, the interpreter assumes the program is running | Nick Lewycky | 2009-11-08 | 1 | -8/+1 | |
| | | | | | | | native anyways. This fixes a crash using %d and similar in a scanf statement. llvm-svn: 86440 | |||||
| * | Make TargetData::getStringRepresentation spit out native integer types, | Chris Lattner | 2009-11-08 | 1 | -0/+7 | |
| | | | | | | | this gives llvm-gcc generated modules the right data. llvm-svn: 86435 | |||||
| * | Fix the interpreter to not crash due to zeroext/signext | Nick Lewycky | 2009-11-08 | 1 | -10/+0 | |
| | | | | | llvm-svn: 86428 | |||||
| * | Use aligned load/store instructions for spilling Q registers when we know ↵ | Jim Grosbach | 2009-11-08 | 2 | -8/+25 | |
| | | | | | | | the stack slot is 128 bit aligned llvm-svn: 86425 | |||||
| * | Refactor code. | Evan Cheng | 2009-11-08 | 7 | -127/+67 | |
| | | | | | llvm-svn: 86423 | |||||
| * | Fix MSVC warning ( | with bool and unsigned int). | Daniel Dunbar | 2009-11-07 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86417 | |||||
| * | x86 vector shuffle cleanup/fixes: | Nate Begeman | 2009-11-07 | 3 | -50/+27 | |
| | | | | | | | | | 1. rename the movhp patfrag to movlhps, since thats what it actually matches 2. eliminate the bogus movhps load and store patterns, they were incorrect. The load transforms are already handled (correctly) by shufps/unpack. 3. revert a recent test change to its correct form. llvm-svn: 86415 | |||||
| * | 80-column cleanup of file header comments | Jim Grosbach | 2009-11-07 | 10 | -13/+16 | |
| | | | | | llvm-svn: 86408 | |||||
| * | Support alignment specifier for NEON vld/vst instructions | Jim Grosbach | 2009-11-07 | 5 | -46/+61 | |
| | | | | | llvm-svn: 86404 | |||||
| * | Improve tail call elimination to handle the switch statement. | Nick Lewycky | 2009-11-07 | 2 | -18/+11 | |
| | | | | | llvm-svn: 86403 | |||||
| * | t2ldrpci_pic can be used for blockaddress as well. | Evan Cheng | 2009-11-07 | 2 | -6/+28 | |
| | | | | | llvm-svn: 86400 | |||||
| * | make instcombine only rewrite a chain of computation | Chris Lattner | 2009-11-07 | 1 | -19/+5 | |
| | | | | | | | | | | | (eliminating some extends) if the new type of the computation is legal or if both the source and dest are illegal. This prevents instcombine from changing big chains of computation into i64 on 32-bit targets for example. llvm-svn: 86398 | |||||
| * | indicate what the native integer types for the target are. | Chris Lattner | 2009-11-07 | 12 | -19/+19 | |
| | | | | | | | Please verify. llvm-svn: 86397 | |||||
| * | Revert r86359, it is breaking the self host on the | Chris Lattner | 2009-11-07 | 1 | -117/+62 | |
| | | | | | | | llvm-gcc-i386-darwin9 build bot. llvm-svn: 86391 | |||||
| * | First try of the post-inc operands handling... Not fully worked, though :( | Anton Korobeynikov | 2009-11-07 | 3 | -11/+87 | |
| | | | | | llvm-svn: 86386 | |||||
| * | Add some dummy support for post-incremented loads | Anton Korobeynikov | 2009-11-07 | 4 | -4/+97 | |
| | | | | | llvm-svn: 86385 | |||||
| * | Add 8 bit libcalls and make use of them for msp430 | Anton Korobeynikov | 2009-11-07 | 3 | -10/+41 | |
| | | | | | llvm-svn: 86384 | |||||
| * | Add few pseudo-source-values | Anton Korobeynikov | 2009-11-07 | 1 | -4/+20 | |
| | | | | | llvm-svn: 86383 | |||||
| * | Initial support for addrmode handling. Tests by Brian Lucas! | Anton Korobeynikov | 2009-11-07 | 3 | -68/+239 | |
| | | | | | llvm-svn: 86382 | |||||
| * | Some preliminary variable asmprinting | Anton Korobeynikov | 2009-11-07 | 3 | -7/+92 | |
| | | | | | llvm-svn: 86381 | |||||
| * | Use '.L' for global private prefix (as mspgcc) | Anton Korobeynikov | 2009-11-07 | 1 | -0/+1 | |
| | | | | | llvm-svn: 86380 | |||||
| * | Drop old asmprinter stuff | Anton Korobeynikov | 2009-11-07 | 3 | -17/+20 | |
| | | | | | llvm-svn: 86379 | |||||
| * | It turns out that the testcase in question uncovered subreg-handling bug. | Anton Korobeynikov | 2009-11-07 | 2 | -3/+2 | |
| | | | | | | | | Add assert in asmprinter to catch such cases and xfail the tests. PR is to be filled. llvm-svn: 86375 | |||||
| * | add the ability for TargetData to return information about legal integer | Chris Lattner | 2009-11-07 | 1 | -39/+12 | |
| | | | | | | | | | | | | datatypes on a given CPU. This is intended to allow instcombine and other transformations to avoid converting big sequences of operations to an inconvenient width, and will help clean up after SRoA. See also "Adding legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451. Comments welcome. llvm-svn: 86370 | |||||
| * | more cleanup. | Chris Lattner | 2009-11-07 | 1 | -4/+14 | |
| | | | | | llvm-svn: 86369 | |||||
| * | add some missing #includes | Chris Lattner | 2009-11-07 | 7 | -5/+9 | |
| | | | | | llvm-svn: 86367 | |||||
| * | rewrite TargetData to use StringRef/raw_ostream instead of thrashing ↵ | Chris Lattner | 2009-11-07 | 1 | -39/+59 | |
| | | | | | | | std::strings. llvm-svn: 86366 | |||||
| * | prune #include / layering violation | Chris Lattner | 2009-11-07 | 1 | -2/+0 | |
| | | | | | llvm-svn: 86365 | |||||
| * | Make the need-stub variables accurate and consistent. In the case of | Jeffrey Yasskin | 2009-11-07 | 3 | -33/+32 | |
| | | | | | | | | | | | | | | MachineRelocations, "stub" always refers to a far-call stub or a load-a-faraway-global stub, so this patch adds "Far" to the term. (Other stubs are used for lazy compilation and dlsym address replacement.) The variable was also inconsistent between the positive and negative sense, and the positive sense ("NeedStub") was more demanding than is accurate (since a nearby-enough function can be called directly even if the platform often requires a stub). Since the negative sense causes double-negatives, I switched to "MayNeedFarStub" globally. llvm-svn: 86363 | |||||
| * | Fix a couple of shuffle patterns to use movhlps instead | Eric Christopher | 2009-11-07 | 1 | -9/+9 | |
| | | | | | | | | of movhps as the constraint. Changes optimizations so update testcases as appropriate as well. llvm-svn: 86360 | |||||
| * | Teach dead store elimination that certain intrinsics write to memory just like | Nick Lewycky | 2009-11-07 | 1 | -62/+117 | |
| | | | | | | | a store. llvm-svn: 86359 | |||||
| * | reapply 86289, 86278, 86270, 86267, 86266 & 86264 plus a fix | Chris Lattner | 2009-11-07 | 1 | -243/+363 | |
| | | | | | | | | | | (making pred factoring only happen if threading is guaranteed to be successful). This now survives an X86-64 bootstrap of llvm-gcc. llvm-svn: 86355 | |||||
| * | Fix PR5421 by APInt'izing switch lowering. | Chris Lattner | 2009-11-07 | 2 | -17/+19 | |
| | | | | | llvm-svn: 86354 | |||||
| * | Oops, FunctionContainsEscapingAllocas is really used to mean two different | Nick Lewycky | 2009-11-07 | 1 | -2/+10 | |
| | | | | | | | things. Back out part of r86349 for a moment. llvm-svn: 86353 | |||||
| * | Dust off tail recursion elimination. Fix a fixme by applying CaptureTracking | Nick Lewycky | 2009-11-07 | 1 | -21/+8 | |
| | | | | | | | and add a .ll to demo the new capability. llvm-svn: 86349 | |||||
| * | llvmc: Add a '-time' option. | Mikhail Glushenkov | 2009-11-07 | 3 | -5/+48 | |
| | | | | | llvm-svn: 86348 | |||||
| * | Trailing whitespace. | Mikhail Glushenkov | 2009-11-07 | 1 | -7/+7 | |
| | | | | | llvm-svn: 86347 | |||||

