| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | This hunk accidentally got dropped. Patch by Jim Laskey | Chris Lattner | 2005-08-02 | 1 | -67/+0 | |
| | | | | | llvm-svn: 22595 | |||||
| * | Update to use the new MathExtras.h support for log2 computation. | Chris Lattner | 2005-08-02 | 11 | -188/+108 | |
| | | | | | | | Patch contributed by Jim Laskey! llvm-svn: 22594 | |||||
| * | Fix the non-gcc 4.0 path to compile | Chris Lattner | 2005-08-02 | 1 | -5/+7 | |
| | | | | | llvm-svn: 22593 | |||||
| * | Update to use the new MathExtras.h support for log2 computation. | Chris Lattner | 2005-08-02 | 1 | -22/+15 | |
| | | | | | | | Patch contributed by Jim Laskey! llvm-svn: 22592 | |||||
| * | Consolidate all of the various log2 computing functions into MathExtras.h. | Chris Lattner | 2005-08-02 | 1 | -18/+131 | |
| | | | | | | | | Also, provide accelerated implementations when building with GCC. Patch contributed by Jim Laskey! llvm-svn: 22591 | |||||
| * | Update a doc, patch contributed by Jim Laskey! | Chris Lattner | 2005-08-02 | 1 | -6/+3 | |
| | | | | | llvm-svn: 22590 | |||||
| * | add a pass name to make debugging dumps nicer | Chris Lattner | 2005-08-02 | 1 | -0/+4 | |
| | | | | | llvm-svn: 22588 | |||||
| * | Fix grammar: it's == "it is". | Misha Brukman | 2005-08-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22587 | |||||
| * | Like the comment says, do not insert cast instructions before phi nodes | Chris Lattner | 2005-08-02 | 1 | -0/+4 | |
| | | | | | llvm-svn: 22586 | |||||
| * | It's dangerous coding on Mondays. | Jeff Cohen | 2005-08-02 | 1 | -8/+5 | |
| | | | | | llvm-svn: 22585 | |||||
| * | This code was very close, but not quite right. It did not take into | Chris Lattner | 2005-08-02 | 1 | -3/+10 | |
| | | | | | | | | | consideration the case where a reference in an unreachable block could occur. This fixes Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll, something I ran into while bugpoint'ing another pass. llvm-svn: 22584 | |||||
| * | New testcase that caused simplifycfg to crash | Chris Lattner | 2005-08-02 | 1 | -0/+96 | |
| | | | | | llvm-svn: 22583 | |||||
| * | Implement SetInterruptFunction for Windows. | Jeff Cohen | 2005-08-02 | 2 | -2/+27 | |
| | | | | | llvm-svn: 22582 | |||||
| * | add a comment, make a check more lenient | Chris Lattner | 2005-08-02 | 1 | -8/+10 | |
| | | | | | llvm-svn: 22581 | |||||
| * | Simplify for loop, clear a per-loop map after processing each loop | Chris Lattner | 2005-08-02 | 1 | -1/+2 | |
| | | | | | llvm-svn: 22580 | |||||
| * | When the user hits ctrl-c, bugpoint should attempt to stop reduction as | Chris Lattner | 2005-08-02 | 5 | -30/+59 | |
| | | | | | | | | quickly as possible and output what it has so far. If they hit it twice, bugpoint is killed. llvm-svn: 22579 | |||||
| * | Implement sys::SetInterruptFunction on Unix, stub it on win32 so that the | Chris Lattner | 2005-08-02 | 2 | -2/+22 | |
| | | | | | | | build will not fail llvm-svn: 22578 | |||||
| * | add a new function proto | Chris Lattner | 2005-08-02 | 1 | -0/+9 | |
| | | | | | llvm-svn: 22577 | |||||
| * | Add a comment | Chris Lattner | 2005-08-02 | 1 | -0/+10 | |
| | | | | | | | | Make LSR ignore GEP's that have loop variant base values, as we currently cannot codegen them llvm-svn: 22576 | |||||
| * | Fix an iterator invalidation problem | Chris Lattner | 2005-08-02 | 1 | -1/+3 | |
| | | | | | llvm-svn: 22575 | |||||
| * | 200.sixtrack prints FP numbers with a very strange notation that uses D | Chris Lattner | 2005-08-02 | 1 | -3/+21 | |
| | | | | | | | | instead of E for exponentials (e.g. 1.234D-43). Add support for this notation. llvm-svn: 22574 | |||||
| * | make is the standard name, not gmake | Chris Lattner | 2005-08-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22573 | |||||
| * | Mark these as V9 specific | Chris Lattner | 2005-08-01 | 1 | -5/+4 | |
| | | | | | llvm-svn: 22572 | |||||
| * | update function codes to reflect /su flags that have been added since this ↵ | Andrew Lenharth | 2005-08-01 | 1 | -12/+12 | |
| | | | | | | | was written llvm-svn: 22571 | |||||
| * | Fix casts from long to sbyte on ppc | Chris Lattner | 2005-08-01 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22570 | |||||
| * | use llabs not abs | Andrew Lenharth | 2005-08-01 | 1 | -3/+3 | |
| | | | | | llvm-svn: 22569 | |||||
| * | one cannot allocate a global, until one is done initializing the global pointers | Andrew Lenharth | 2005-08-01 | 1 | -5/+5 | |
| | | | | | llvm-svn: 22568 | |||||
| * | temporarily fail these two tests until LSR evolves to support them | Chris Lattner | 2005-08-01 | 2 | -0/+4 | |
| | | | | | llvm-svn: 22567 | |||||
| * | ConstantInt::get only works for arguments < 128. | Chris Lattner | 2005-08-01 | 1 | -2/+6 | |
| | | | | | | | | | | | SimplifyLibCalls probably has to be audited to make sure it does not make this mistake elsewhere. Also, if this code knows that the type will be unsigned, obviously one arm of this is dead. Reid, can you take a look into this further? llvm-svn: 22566 | |||||
| * | Keep tabs and trailing spaces out. | Jeff Cohen | 2005-07-30 | 8 | -61/+62 | |
| | | | | | llvm-svn: 22565 | |||||
| * | Fix VC++ build problems. | Jeff Cohen | 2005-07-30 | 2 | -0/+7 | |
| | | | | | llvm-svn: 22564 | |||||
| * | fix float->long conversions on x86 | Chris Lattner | 2005-07-30 | 1 | -3/+10 | |
| | | | | | llvm-svn: 22563 | |||||
| * | this tests every fp-to-integer conversion | Chris Lattner | 2005-07-30 | 1 | -0/+67 | |
| | | | | | llvm-svn: 22562 | |||||
| * | fix a typeo | Chris Lattner | 2005-07-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22561 | |||||
| * | Ack, typo | Nate Begeman | 2005-07-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22560 | |||||
| * | Change the fp to integer code to not perform 2-byte stores followed by | Chris Lattner | 2005-07-30 | 1 | -7/+4 | |
| | | | | | | | | | | | | | | | | 1 byte loads and other operations. This is bad for store-forwarding on common CPUs. We now do this: fnstcw WORD PTR [%ESP] mov %AX, WORD PTR [%ESP] instead of: fnstcw WORD PTR [%ESP] mov %AL, BYTE PTR [%ESP + 1] llvm-svn: 22559 | |||||
| * | Commit a new LoopStrengthReduce pass that can use scalar evolutions and | Nate Begeman | 2005-07-30 | 1 | -179/+517 | |
| | | | | | | | | | target data to decide which loop induction variables to strength reduce and how to do so. This work is mostly by Chris Lattner, with tweaks by me to get it working on some of MultiSource. llvm-svn: 22558 | |||||
| * | Break SCEVExpander out of IndVarSimplify into its own .h/.cpp file so that | Nate Begeman | 2005-07-30 | 3 | -238/+286 | |
| | | | | | | | other passes may use it. llvm-svn: 22557 | |||||
| * | Use a custom expander for all FP to int conversions, as the X86 only has | Chris Lattner | 2005-07-30 | 1 | -71/+41 | |
| | | | | | | | | FP-to-int-in-memory: this exposes the load from the stored slot to the selection dag, allowing it to be folded into other operaions. llvm-svn: 22556 | |||||
| * | Allow targets to have custom expanders for FP_TO_*INT conversions where | Chris Lattner | 2005-07-30 | 1 | -3/+9 | |
| | | | | | | | both the src and dest values are legal llvm-svn: 22555 | |||||
| * | support near allocations for the JIT | Andrew Lenharth | 2005-07-29 | 4 | -38/+88 | |
| | | | | | llvm-svn: 22554 | |||||
| * | turn off GOT on archs that didn't use it (not that it appeard to harm them ↵ | Andrew Lenharth | 2005-07-29 | 3 | -3/+3 | |
| | | | | | | | much with it on) llvm-svn: 22553 | |||||
| * | Implement a FIXME: move a bunch of cruft for handling FP_TO_*INT operations | Chris Lattner | 2005-07-29 | 1 | -27/+17 | |
| | | | | | | | | that the X86 does not support to the legalizer. This allows it to be better optimized, etc, and will help with SSE support. llvm-svn: 22551 | |||||
| * | Don't forget to diddle with the control word when performing an FISTP64. | Chris Lattner | 2005-07-29 | 1 | -8/+36 | |
| | | | | | llvm-svn: 22550 | |||||
| * | Use a custom expander to compile this: | Chris Lattner | 2005-07-29 | 1 | -13/+57 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | long %test4(double %X) { %tmp.1 = cast double %X to long ; <long> [#uses=1] ret long %tmp.1 } to this: _test4: sub %ESP, 12 fld QWORD PTR [%ESP + 16] fistp QWORD PTR [%ESP] mov %EDX, DWORD PTR [%ESP + 4] mov %EAX, DWORD PTR [%ESP] add %ESP, 12 ret instead of this: _test4: sub %ESP, 28 fld QWORD PTR [%ESP + 32] fstp QWORD PTR [%ESP] call ___fixdfdi add %ESP, 28 ret llvm-svn: 22549 | |||||
| * | Allow targets to define custom expanders for FP_TO_*INT | Chris Lattner | 2005-07-29 | 1 | -0/+18 | |
| | | | | | llvm-svn: 22548 | |||||
| * | allow a target to request that unknown FP_TO_*INT conversion be promoted to | Chris Lattner | 2005-07-29 | 1 | -1/+74 | |
| | | | | | | | a larger integer destination. llvm-svn: 22547 | |||||
| * | instead of having all conversions be handled by one case value, and then have | Chris Lattner | 2005-07-28 | 1 | -64/+86 | |
| | | | | | | | subcases inside, break things out earlier. llvm-svn: 22546 | |||||
| * | New testcase for PR610 | Chris Lattner | 2005-07-28 | 1 | -0/+5 | |
| | | | | | llvm-svn: 22545 | |||||
| * | support bsr, and more .td simplification | Andrew Lenharth | 2005-07-28 | 6 | -48/+76 | |
| | | | | | llvm-svn: 22543 | |||||

