Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops. Don't normalize spill weights twice. | Jakob Stoklund Olesen | 2010-08-03 | 1 | -1/+0 |
| | | | | | | | | | When the normalizeSpillWeights function was introduced, I forgot to remove this normalization. This change could affect register allocation. Hopefully for the better. llvm-svn: 110119 | ||||
* | avoid undefined behavior negating minint. | Chris Lattner | 2010-08-03 | 1 | -2/+2 |
| | | | | llvm-svn: 110117 | ||||
* | Fix a typo Devang noticed. | Dan Gohman | 2010-08-03 | 1 | -1/+1 |
| | | | | llvm-svn: 110115 | ||||
* | avoid undef behavior on minint, fixing PR7783. | Chris Lattner | 2010-08-03 | 1 | -2/+3 |
| | | | | llvm-svn: 110114 | ||||
* | Add an atomic lowering pass | Peter Collingbourne | 2010-08-03 | 2 | -0/+161 |
| | | | | llvm-svn: 110113 | ||||
* | Use unary + instead of a separate local variable for working | Dan Gohman | 2010-08-03 | 1 | -2/+1 |
| | | | | | | around std::min vs static const friction. llvm-svn: 110112 | ||||
* | MC: Fix symbol fragment offsets in COFF. | Michael J. Spencer | 2010-08-03 | 1 | -1/+2 |
| | | | | | | Patch by Cameron Esfahani! llvm-svn: 110104 | ||||
* | Revert "MC: Fix symbol fragment offsets in COFF." | Michael J. Spencer | 2010-08-03 | 1 | -2/+1 |
| | | | | | | | | This reverts commit r110100 Wrong path caps. llvm-svn: 110103 | ||||
* | MC: Add time travel support to COFF. | Michael J. Spencer | 2010-08-03 | 1 | -0/+4 |
| | | | | llvm-svn: 110101 | ||||
* | MC: Fix symbol fragment offsets in COFF. | Michael J. Spencer | 2010-08-03 | 1 | -1/+2 |
| | | | | | | Patch by Cameron Esfahani! llvm-svn: 110100 | ||||
* | Fix CMake build | Michael J. Spencer | 2010-08-03 | 1 | -0/+1 |
| | | | | llvm-svn: 110097 | ||||
* | Introduce a symbolic constant for ~0u for use with AliasAnalysis. | Dan Gohman | 2010-08-03 | 2 | -9/+10 |
| | | | | llvm-svn: 110091 | ||||
* | Add a convenient form of AliasAnalysis::alias for the case where the sizes | Dan Gohman | 2010-08-03 | 2 | -6/+3 |
| | | | | | | are unknown. llvm-svn: 110090 | ||||
* | Make SCEVUnknown a CallbackVH, so that it can be notified directly | Dan Gohman | 2010-08-02 | 1 | -47/+46 |
| | | | | | | | | | | | of Value deletions and RAUWs, instead of relying on ScalarEvolution's Scalars map being notified, as that's complicated at best, and insufficient in general. This means SCEVUnknown needs a non-trivial destructor, so introduce a mechanism to allow ScalarEvolution to locate all the SCEVUnknowns. llvm-svn: 110086 | ||||
* | Sketch up a preliminary Type-Based Alias Analysis implementation. | Dan Gohman | 2010-08-02 | 1 | -0/+191 |
| | | | | llvm-svn: 110077 | ||||
* | Fix visitInvokeInst to call visitTerminatorInst, and remove | Dan Gohman | 2010-08-02 | 1 | -4/+1 |
| | | | | | | a redundant check from checkInstruction. llvm-svn: 110076 | ||||
* | Add Verifier logic for indirectbr. | Dan Gohman | 2010-08-02 | 1 | -0/+11 |
| | | | | llvm-svn: 110075 | ||||
* | Add a lint check for indirectbr with no successors. | Dan Gohman | 2010-08-02 | 1 | -0/+3 |
| | | | | llvm-svn: 110074 | ||||
* | Add explicit constructors. Patch by Renato Golin. | Devang Patel | 2010-08-02 | 1 | -0/+15 |
| | | | | llvm-svn: 110072 | ||||
* | Early exit and reduce indentation. No functionality change. | Bill Wendling | 2010-08-02 | 1 | -105/+106 |
| | | | | llvm-svn: 110069 | ||||
* | Fix namespace polution. | Dan Gohman | 2010-08-02 | 2 | -2/+6 |
| | | | | llvm-svn: 110056 | ||||
* | Free DbgScope created for dead functions. | Devang Patel | 2010-08-02 | 1 | -0/+4 |
| | | | | llvm-svn: 110045 | ||||
* | More SPU v2f32 stuff added: insertelement and shuffle. | Kalle Raiskila | 2010-08-02 | 2 | -0/+9 |
| | | | | llvm-svn: 110038 | ||||
* | Add preliminary v2f32 support for SPU. Like with v2i32, we just | Kalle Raiskila | 2010-08-02 | 4 | -69/+81 |
| | | | | | | | | duplicate the instructions and operate on half vectors. Also reorder code in SPUInstrInfo.td for better coherency. llvm-svn: 110037 | ||||
* | Re-apply the infamous r108614, with a fix pointed out by Dirk Steinke. | Owen Anderson | 2010-08-02 | 1 | -5/+38 |
| | | | | llvm-svn: 110036 | ||||
* | Add preliminary v2i32 support for SPU backend. As there are no | Kalle Raiskila | 2010-08-02 | 4 | -6/+49 |
| | | | | | | | | | | such registers in SPU, this support boils down to "emulating" them by duplicating instructions on the general purpose registers. This adds the most basic operations on v2i32: passing parameters, addition, subtraction, multiplication and a few others. llvm-svn: 110035 | ||||
* | Prefix `next' iterator operation with `llvm::'. | Oscar Fuentes | 2010-08-02 | 8 | -16/+16 |
| | | | | | | | | Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029 | ||||
* | Fix a -Wreorder warning. | Daniel Dunbar | 2010-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 110022 | ||||
* | Work in progress. | Nick Lewycky | 2010-08-02 | 1 | -129/+164 |
| | | | | | | | | Start cleaning up MergeFunctions to look more like the rest of LLVM. The primary change here is to move the methods responsible for comparison into the new FunctionComparator object. Some comments added. There's more to do. llvm-svn: 110021 | ||||
* | PR7586: Make sure we don't claim that unknown bits are actually known in the | Eli Friedman | 2010-08-02 | 1 | -3/+2 |
| | | | | | | ISD::AND case of TargetLowering::SimplifyDemandedBits. llvm-svn: 110019 | ||||
* | PR7781: Fix incorrect shifting in PPCTargetLowering::LowerBUILD_VECTOR. | Eli Friedman | 2010-08-02 | 1 | -3/+3 |
| | | | | llvm-svn: 109998 | ||||
* | PR7774: Fix undefined shifts in Alpha backend. As a bonus, this actually | Eli Friedman | 2010-08-01 | 1 | -2/+2 |
| | | | | | | improves the generated code in some cases. llvm-svn: 109985 | ||||
* | Preallocate vector, avoid unnecessary vector growth. | Benjamin Kramer | 2010-08-01 | 1 | -0/+1 |
| | | | | llvm-svn: 109971 | ||||
* | Reference the personalities. Don't copy them into a new vector. | Bill Wendling | 2010-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 109966 | ||||
* | Silence some -Asserts uninitialized variable warnings. | Daniel Dunbar | 2010-07-31 | 2 | -2/+3 |
| | | | | llvm-svn: 109956 | ||||
* | Speculatively revert r108614, "Another attempt at getting the clang self-host to | Daniel Dunbar | 2010-07-31 | 1 | -32/+0 |
| | | | | | | | like my instcombine patch.", in an attempt to fix Clang i386 bootstrap. - Also PR7719. llvm-svn: 109953 | ||||
* | MC: Remove HasAbsolutizedSet from WindowsX86AsmBackend. | Michael J. Spencer | 2010-07-31 | 1 | -1/+0 |
| | | | | llvm-svn: 109949 | ||||
* | Move newlines before inline jumptables from the asm strings in .td files to | Bob Wilson | 2010-07-31 | 4 | -9/+9 |
| | | | | | | | the jtblock_operand print methods. This avoids extra newlines in the disassembler's output. PR7757. llvm-svn: 109948 | ||||
* | Add relax all support to the COFF object streamer. | Michael J. Spencer | 2010-07-31 | 2 | -3/+6 |
| | | | | llvm-svn: 109947 | ||||
* | Add support for disassembling VMVN (immediate) instructions. PR7747. | Bob Wilson | 2010-07-31 | 1 | -0/+4 |
| | | | | llvm-svn: 109946 | ||||
* | The BlockExtractorPass() constructor was not reading the BlockFile and that was | Rafael Espindola | 2010-07-31 | 1 | -5/+3 |
| | | | | | | | | | | | | | | exactly what bugpoint expected it to do. There was also only one user of BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and make BlockExtractorPass read BlockFile. This fixes bugpoint's block extraction. Nick, please review. llvm-svn: 109936 | ||||
* | Add an initial implementation of PHI translation for LazyValueInfo. This ↵ | Owen Anderson | 2010-07-30 | 1 | -35/+72 |
| | | | | | | | | involves rolling back some of my earlier data structure improvements until I can ensure that there are no iterator invalidation problems. llvm-svn: 109935 | ||||
* | Add -disable-shifter-op to disable isel of shifter ops. On Cortex-a9 the ↵ | Evan Cheng | 2010-07-30 | 1 | -0/+11 |
| | | | | | | shifts cost extra instructions so it might be better to emit them separately to take advantage of dual-issues. llvm-svn: 109934 | ||||
* | Add a check in the ARM disassembler for NEON instructions that would | Bob Wilson | 2010-07-30 | 1 | -5/+9 |
| | | | | | | | reference registers past the end of the NEON register file, and report them as invalid instead of asserting when trying to print them. PR7746. llvm-svn: 109933 | ||||
* | PPC doesn't supported VLA with large alignment. This was | Dale Johannesen | 2010-07-30 | 1 | -2/+2 |
| | | | | | | | | formerly rejected by the FE, so asserted in the BE; now the FE only warns, so we treat it as a legitimate fatal error in PPC BE. This means the test for the feature won't pass, so it's xfail'd. llvm-svn: 109892 | ||||
* | Move MaximumAlignment to be a member of the Value class. | Dan Gohman | 2010-07-30 | 2 | -2/+3 |
| | | | | llvm-svn: 109891 | ||||
* | Revert my last two patches to LVI, which recent changes have exposed a ↵ | Owen Anderson | 2010-07-30 | 1 | -56/+94 |
| | | | | | | miscompilation in. llvm-svn: 109889 | ||||
* | Add missing newline to debug statement. | Nick Lewycky | 2010-07-30 | 1 | -1/+1 |
| | | | | llvm-svn: 109886 | ||||
* | Add the __TEXT,__StaticInit section to the list of sections emitted at the | Bob Wilson | 2010-07-30 | 1 | -0/+6 |
| | | | | | | | beginning on ARM Darwin assembly files so that it won't be placed after debug sections. Radar 8252813. llvm-svn: 109879 | ||||
* | Support all 128-bit AVX vector intrinsics. Most part of them I already | Bruno Cardoso Lopes | 2010-07-30 | 3 | -232/+240 |
| | | | | | | | | | | | declared during the addition of the assembler support, the additional changes are: - Add missing intrinsics - Move all SSE conversion instructions in X86InstInfo64.td to the SSE.td file. - Duplicate some patterns to AVX mode. - Step into PCMPEST/PCMPIST custom inserter and add AVX versions. llvm-svn: 109878 |