Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix bsf / bsr jit encoding. | Evan Cheng | 2007-12-14 | 2 | -6/+6 | |
| | | | | llvm-svn: 45037 | |||||
* | Oops. Forgot these. | Evan Cheng | 2007-12-14 | 1 | -4/+6 | |
| | | | | llvm-svn: 45036 | |||||
* | Add explicit keywords, and fix a minor typo that they uncovered. | Dan Gohman | 2007-12-14 | 8 | -10/+11 | |
| | | | | llvm-svn: 45034 | |||||
* | Don't redirect stderr when it isn't needed. | Dan Gohman | 2007-12-14 | 1 | -5/+5 | |
| | | | | llvm-svn: 45033 | |||||
* | Fix a typo in a comment. | Dan Gohman | 2007-12-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 45032 | |||||
* | Fix a typo in a comment. | Dan Gohman | 2007-12-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 45031 | |||||
* | Fix Intel asm syntax for the bsr and bsf instructions. | Dan Gohman | 2007-12-14 | 2 | -12/+12 | |
| | | | | llvm-svn: 45030 | |||||
* | Fix ctlz and cttz. llvm definition requires them to return number of bits in ↵ | Evan Cheng | 2007-12-14 | 3 | -15/+53 | |
| | | | | | | of the src type when value is zero. llvm-svn: 45029 | |||||
* | Bug fix. Must also match ResNo when matching an operand with a user. | Evan Cheng | 2007-12-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 45028 | |||||
* | All MMX shift instructions took a <2 x i32> vector as the shift amount ↵ | Anders Carlsson | 2007-12-14 | 3 | -8/+105 | |
| | | | | | | parameter. Change this to be <1 x i64> instead, which matches the assembler instruction. llvm-svn: 45027 | |||||
* | Implement ctlz and cttz with bsr and bsf. | Evan Cheng | 2007-12-14 | 5 | -9/+119 | |
| | | | | llvm-svn: 45024 | |||||
* | Add flags to indicate that there are "never" side effects or that there "may be" | Bill Wendling | 2007-12-14 | 5 | -3/+29 | |
| | | | | | | side effects for machine instructions. llvm-svn: 45022 | |||||
* | Make it more clear that some things that can't be done in .td files can | Dan Gohman | 2007-12-13 | 1 | -7/+7 | |
| | | | | | | | still be done in the LLVM code generator. And update the summary for the X86 target. llvm-svn: 45013 | |||||
* | Make these loops follow GetGEPOperands() behavior. | Wojciech Matyjewicz | 2007-12-13 | 1 | -11/+13 | |
| | | | | | | | Let: %q = GEP %p, X, ... If %p is a GEP, we can chase baseptr further, only if X==0. llvm-svn: 44999 | |||||
* | Fix typo. | Evan Cheng | 2007-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 44997 | |||||
* | Add register pairs to the list to check for local interferences. | Owen Anderson | 2007-12-13 | 1 | -4/+10 | |
| | | | | llvm-svn: 44987 | |||||
* | Remove ugly and horrible code. It's not necessary for correctness, and can ↵ | Owen Anderson | 2007-12-13 | 1 | -47/+7 | |
| | | | | | | be added back later if it causes code quality issues. llvm-svn: 44986 | |||||
* | Be extra careful with extension use optimation. Now turned on by default. | Evan Cheng | 2007-12-13 | 2 | -4/+11 | |
| | | | | llvm-svn: 44981 | |||||
* | Apply CBE/MSIL patch to autoconf | Nate Begeman | 2007-12-13 | 1 | -2/+3 | |
| | | | | llvm-svn: 44980 | |||||
* | Add install-libs target which only installs libraries, not tools | Nate Begeman | 2007-12-13 | 1 | -0/+6 | |
| | | | | llvm-svn: 44979 | |||||
* | Remove this testcase as it will always fail on | Zhou Sheng | 2007-12-13 | 1 | -54/+0 | |
| | | | | | | platform like Darwin. llvm-svn: 44977 | |||||
* | Do not build CBackend and MSIL regardless of configured targets | Nate Begeman | 2007-12-13 | 1 | -2/+3 | |
| | | | | llvm-svn: 44973 | |||||
* | Fold some and + shift in x86 addressing mode. | Evan Cheng | 2007-12-13 | 3 | -6/+69 | |
| | | | | llvm-svn: 44970 | |||||
* | Oops. Forgot these. | Evan Cheng | 2007-12-13 | 3 | -0/+3 | |
| | | | | llvm-svn: 44969 | |||||
* | Fix for edge profiling, patch by 'Marc' for PR1857 | Chris Lattner | 2007-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 44965 | |||||
* | Cosmetic change. | Evan Cheng | 2007-12-12 | 1 | -4/+3 | |
| | | | | llvm-svn: 44961 | |||||
* | Implicit def instructions, e.g. X86::IMPLICIT_DEF_GR32, are always ↵ | Evan Cheng | 2007-12-12 | 15 | -12/+724 | |
| | | | | | | re-materializable and they should not be spilled. llvm-svn: 44960 | |||||
* | Remove host endianness info from TargetData and | Duncan Sands | 2007-12-12 | 7 | -61/+66 | |
| | | | | | | | | put it in a new header System/Host.h instead. Instead of getting the endianness from configure, calculate it directly. llvm-svn: 44959 | |||||
* | Remove a forward-declaration for a non-existant class. | Dan Gohman | 2007-12-12 | 1 | -1/+0 | |
| | | | | llvm-svn: 44955 | |||||
* | Allow vector integer constants to be created with | Dan Gohman | 2007-12-12 | 3 | -9/+46 | |
| | | | | | | | | SelectionDAG::getConstant, in the same way as vector floating-point constants. This allows the legalize expansion code for @llvm.ctpop and friends to be usable with vector types. llvm-svn: 44954 | |||||
* | Use vector for child storage instead of map. This will also make | Anton Korobeynikov | 2007-12-12 | 1 | -19/+61 | |
| | | | | | | our life during future GraphTraits'ing slightly easier. llvm-svn: 44952 | |||||
* | Revert r44626, which turned off the use of readonly | Duncan Sands | 2007-12-12 | 2 | -15/+4 | |
| | | | | | | | | | | and readnone for functions with bodies because it broke llvm-gcc-4.2 bootstrap. It turns out that, because of LLVM's array_ref hack, gcc was computing pure/const attributes wrong (now fixed by turning off the gcc ipa-pure-const pass). llvm-svn: 44937 | |||||
* | 1. "Upgrage" comments. | Wojciech Matyjewicz | 2007-12-12 | 2 | -15/+26 | |
| | | | | | | | | | | | | | | 2. Using zero-extended value of Scale and unsigned division is safe provided that Scale doesn't have the sign bit set. Previously these 2 instructions: %p = bitcast [100 x {i8,i8,i8}]* %x to i8* %q = getelementptr i8* %p, i32 -4 were combined into: %q = getelementptr [100 x { i8, i8, i8 }]* %x, i32 0, i32 1431655764, i32 0 what was incorrect. llvm-svn: 44936 | |||||
* | Regenerate. | Christopher Lamb | 2007-12-12 | 2 | -1215/+1197 | |
| | | | | llvm-svn: 44934 | |||||
* | Implement part of review feedback for address spaces. | Christopher Lamb | 2007-12-12 | 5 | -36/+23 | |
| | | | | llvm-svn: 44933 | |||||
* | Use shuffles to implement insert_vector_elt for i32, i64, f32, and f64. | Evan Cheng | 2007-12-12 | 5 | -64/+58 | |
| | | | | llvm-svn: 44929 | |||||
* | Add a test case for -optimize-ext-uses. | Evan Cheng | 2007-12-12 | 1 | -0/+19 | |
| | | | | llvm-svn: 44928 | |||||
* | Lower a build_vector with all constants into a constpool load unless it can ↵ | Evan Cheng | 2007-12-12 | 2 | -17/+26 | |
| | | | | | | be done with a move to low part. llvm-svn: 44921 | |||||
* | Add a guard to cxxabi header as other platform may | Zhou Sheng | 2007-12-12 | 1 | -0/+12 | |
| | | | | | | not support it. llvm-svn: 44914 | |||||
* | Fixed PR1629. | Zhou Sheng | 2007-12-12 | 2 | -0/+94 | |
| | | | | | | | Make lli interpreter correctly call external functions sin()/cos(), __cxa_guard_acquire() and __cxa_guard_release(). llvm-svn: 44910 | |||||
* | Fix a bug in my previous patch, thanks to Jay Foad for | Chris Lattner | 2007-12-12 | 1 | -2/+2 | |
| | | | | | | pointing this out and correcting the patch! llvm-svn: 44907 | |||||
* | Don't muck with phi nodes; bug fixes. | Evan Cheng | 2007-12-12 | 1 | -2/+11 | |
| | | | | llvm-svn: 44905 | |||||
* | Correct typo for Linux: s/esp/%rsp/ | Scott Michel | 2007-12-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 44904 | |||||
* | Bit masks conflicted. Needed to bump them by one. | Bill Wendling | 2007-12-12 | 1 | -9/+9 | |
| | | | | llvm-svn: 44903 | |||||
* | Forgot to remove a register from the PHI-union after I'd determined that it | Owen Anderson | 2007-12-12 | 1 | -3/+6 | |
| | | | | | | interfered with other registers. Seems like that might be a good thing to do. :-) llvm-svn: 44902 | |||||
* | Add (very basic) bindings for ModuleProvider. | Gordon Henriksen | 2007-12-12 | 7 | -0/+90 | |
| | | | | llvm-svn: 44899 | |||||
* | Bug fix. Only safe to perform extension uses optimization if the source of ↵ | Evan Cheng | 2007-12-12 | 1 | -0/+5 | |
| | | | | | | extension is also defined in the same BB as the extension. llvm-svn: 44896 | |||||
* | Changes from Curtis Dunham implementing lazy cycle detection algorithm. | Daniel Berlin | 2007-12-12 | 1 | -125/+287 | |
| | | | | | | | Changes from me implementing different way of representing points-to anything. Changes from me that improve slightly on LCD. llvm-svn: 44895 | |||||
* | If deleting a reload instruction due to reuse (value is available in ↵ | Evan Cheng | 2007-12-11 | 1 | -2/+18 | |
| | | | | | | register R and reload is targeting R), make sure to invalidate the kill information of the last kill. llvm-svn: 44894 | |||||
* | Need to grow the indexed map. Added debug statements. | Bill Wendling | 2007-12-11 | 1 | -21/+27 | |
| | | | | llvm-svn: 44892 |