summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Reformat partially.NAKAMURA Takumi2015-10-056-46/+38
| | | | llvm-svn: 249288
* Reformat 3 files in llvm/include/llvm/CodeGen/.NAKAMURA Takumi2015-10-053-178/+167
| | | | llvm-svn: 249287
* Trailing whitespaces.NAKAMURA Takumi2015-10-053-6/+6
| | | | llvm-svn: 249286
* Prune trailing whitespaces in comment lines.NAKAMURA Takumi2015-10-055-6/+6
| | | | llvm-svn: 249285
* Reformat blank lines.NAKAMURA Takumi2015-10-0519-44/+38
| | | | llvm-svn: 249284
* [SelectionDAGBuilder] Remove dead codeDavid Majnemer2015-10-041-1/+1
| | | | | | We already check for LandingPadInst two lines above. llvm-svn: 249280
* Remove unused private field introduced by r249270.Teresa Johnson2015-10-041-5/+2
| | | | llvm-svn: 249277
* Support for function summary index bitcode sections and files.Teresa Johnson2015-10-0420-46/+1633
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The bitcode format is described in this document: https://drive.google.com/file/d/0B036uwnWM6RWdnBLakxmeDdOeXc/view For more info on ThinLTO see: https://sites.google.com/site/llvmthinlto The first customer is ThinLTO, however the data structures are designed and named more generally based on prior feedback. There are a few comments regarding how certain interfaces are used by ThinLTO, and the options added here to gold currently have ThinLTO-specific names as the behavior they provoke is currently ThinLTO-specific. This patch includes support for generating per-module function indexes, the combined index file via the gold plugin, and several tests (more are included with the associated clang patch D11908). Reviewers: dexonsmith, davidxl, joker.eph Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13107 llvm-svn: 249270
* [X86][SSE4A] Added shuffle decode tests for 'special case' SSE4A ↵Simon Pilgrim2015-10-041-0/+61
| | | | | | EXTRQI/INSERTQI ops. llvm-svn: 249263
* [SPARCv9] Add support for the rdpr/wrpr instructions.Joerg Sonnenberger2015-10-045-0/+314
| | | | llvm-svn: 249262
* AVX512: Implemented encoding and intrinsics for VPERMILPS/PD instructions.Igor Breger2015-10-0411-61/+1142
| | | | | | | | Added tests for intrinsics and encoding. Differential Revision: http://reviews.llvm.org/D12690 llvm-svn: 249261
* [WinEH] Permit branch folding in the face of funcletsDavid Majnemer2015-10-046-87/+157
| | | | | | | | Track which basic blocks belong to which funclets. Permit branch folding to fire but only if it can prove that doing so will not cause code in one funclet to be reused in another. llvm-svn: 249257
* Fix typo in READMEJeroen Ketema2015-10-041-1/+1
| | | | llvm-svn: 249253
* [DAGCombiner] Generalize FADD constant combines to work with vectorsSimon Pilgrim2015-10-033-40/+66
| | | | | | | | Updated the FADD combines to work with vectors as well as scalars. Differential Revision: http://reviews.llvm.org/D13416 llvm-svn: 249251
* add test cases that demonstrate bad behaviorSanjay Patel2015-10-031-0/+52
| | | | | | | These are based on PR25016 and likely caused by a bug in MachineCombiner's definition of improvesCriticalPathLen(). llvm-svn: 249249
* include equal sign in debug equations; NFCSanjay Patel2015-10-031-2/+2
| | | | llvm-svn: 249248
* [llvm-size] Attempt to fix a test failure on Windows.Davide Italiano2015-10-031-1/+1
| | | | llvm-svn: 249247
* [llvm-size] Fix time to check if time of use bug.Davide Italiano2015-10-032-8/+2
| | | | | | This was the last tool relying on this pattern. llvm-svn: 249244
* [X86] Lower SEXTLOAD using SIGN_EXTEND_VECTOR_INREG. NCI.Simon Pilgrim2015-10-031-22/+5
| | | | | | The custom lowering in LowerExtendedLoad is doing the equivalent shuffle, so make use of existing lowering code to reduce duplication. llvm-svn: 249243
* Remove unnecessary includes.Rafael Espindola2015-10-031-7/+0
| | | | llvm-svn: 249242
* Move registerSection out of line and reduce #includes. NFC.Rafael Espindola2015-10-032-8/+9
| | | | llvm-svn: 249241
* [X86][SSE] Add FADD combine tests.Simon Pilgrim2015-10-031-0/+196
| | | | llvm-svn: 249240
* [DAGCombiner] Merge SIGN_EXTEND_INREG vector constant folding methods. NCI.Simon Pilgrim2015-10-032-26/+6
| | | | | | | | | | visitSIGN_EXTEND_INREG calls SelectionDAG::getNode to constant fold scalar constants but handles vector constants itself, despite getNode being capable of dealing with them. This required a minor change to the getNode implementation to actually deal with cases where the scalars of a BUILD_VECTOR were wider integers than the vector type - which was the only extra ability of the visitSIGN_EXTEND_INREG implementation. No codegen intended and all existing tests remain the same. llvm-svn: 249236
* [libFuzzer] trying to fix at-exit hangKostya Serebryany2015-10-031-1/+1
| | | | llvm-svn: 249231
* [WebAssembly] Implement the remaining conversion operations.Dan Gohman2015-10-032-34/+257
| | | | | | | This is a temporary assembly syntax that will likely evolve along with broader upcoming syntax changes. llvm-svn: 249225
* Use early return. NFC.Rafael Espindola2015-10-031-12/+12
| | | | llvm-svn: 249224
* Try to appease MSVC, NFCI.Sanjoy Das2015-10-031-90/+91
| | | | | | | | This time by lifting the lambda's in `createNodeFromSelectLikePHI` to the file scope. Looks like there are differences in capture rules between clang and MSVC? llvm-svn: 249222
* AMDGPU/SI: Remove unused tablegen multiclassTom Stellard2015-10-031-16/+0
| | | | | | | | | | Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13395 llvm-svn: 249221
* Disallow assigning symbol a null section.Rafael Espindola2015-10-034-14/+2
| | | | | | | They are constructed without one and they can't go back, so this was effectively dead code. llvm-svn: 249220
* Try to appease the MSVC bots, NFCI.Sanjoy Das2015-10-031-1/+1
| | | | llvm-svn: 249219
* [WebAssembly] Rename setlocal to set_local to match the spec.Dan Gohman2015-10-0321-304/+304
| | | | llvm-svn: 249218
* [WebAssembly] Update this test for the new loop scheme.Dan Gohman2015-10-021-1/+1
| | | | llvm-svn: 249217
* Try to appease the MSVC bots, NFC.Sanjoy Das2015-10-021-1/+2
| | | | llvm-svn: 249216
* [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return ↵Kostya Serebryany2015-10-0223-42/+77
| | | | | | int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. llvm-svn: 249214
* Fix comment ASCII art to unbreak the gcc 4.9.1 buildSanjoy Das2015-10-021-8/+8
| | | | | | | | The trailing backslashes in some ASCII art added in r248527 cause a "error: multi-line comment [-Werror=comment]" when building with gcc 4.9.1 -Wall. Swallow (ASCII-)artistic integrity and use pipes instead. llvm-svn: 249212
* [SCEV] Recognize simple br-phi patternsSanjoy Das2015-10-023-143/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Teach SCEV to match patterns like ``` br %cond, label %left, label %right left: br label %merge right: br label %merge merge: V = phi [ %x, %left ], [ %y, %right ] ``` as "select %cond, %x, %y". Before this SCEV would match PHI nodes exclusively to add recurrences. This addresses PR25005. Reviewers: joker.eph, joker-eph, atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13378 llvm-svn: 249211
* [CMake] We need to explicitly add llvm-config before clang so that ↵Chris Bieneman2015-10-021-2/+3
| | | | | | | | LLVM_BUILD_EXTERNAL_COMPILER_RT can depend on llvm-config. This patch is a required stepping stone to fix PR14109. llvm-svn: 249202
* inariant.group handling in GVNPiotr Padlewski2015-10-0210-39/+521
| | | | | | | | | | | | The most important part required to make clang devirtualization works ( ͡°͜ʖ ͡°). The code is able to find non local dependencies, but unfortunatelly because the caller can only handle local dependencies, I had to add some restrictions to look for dependencies only in the same BB. http://reviews.llvm.org/D12992 llvm-svn: 249196
* [libFuzzer] remove experimental flag and functionalityKostya Serebryany2015-10-025-38/+3
| | | | llvm-svn: 249194
* [WebAssembly] Fix CFG stackification of nested loops.Dan Gohman2015-10-022-4/+45
| | | | llvm-svn: 249187
* [WebAssembly] Support calls marked as "tail", fastcc, and coldcc.Dan Gohman2015-10-022-5/+38
| | | | llvm-svn: 249184
* Call the correct overload.Richard Trieu2015-10-022-5/+7
| | | | | | | Call the correct overload so a string literal does not get converted to a bool. Also fix the test case to match the names given. llvm-svn: 249183
* [libFuzzer] add a flag -max_total_timeKostya Serebryany2015-10-026-1/+13
| | | | llvm-svn: 249181
* [WebAssembly] Add a resize_memory intrinsic.Dan Gohman2015-10-024-0/+29
| | | | llvm-svn: 249178
* [SCEV] Refactor out a createNodeForSelectSanjoy Das2015-10-022-88/+107
| | | | | | | | | | | | | Summary: We will shortly re-use this for select-like br-phi pairs. Reviewers: atrick, joker-eph, joker.eph Subscribers: sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D13377 llvm-svn: 249177
* [Tests] Add one more case to LoopUnroll/pr18861.ll for better coverage.Michael Zolotukhin2015-10-021-0/+31
| | | | llvm-svn: 249174
* [Tests] Give meaningful names to blocks in LoopUnroll/pr18861.ll, add a ↵Michael Zolotukhin2015-10-021-13/+37
| | | | | | description of what's going on. llvm-svn: 249173
* [Tests] Slightly reduce test LoopUnroll/pr18861.ll.Michael Zolotukhin2015-10-021-16/+4
| | | | llvm-svn: 249172
* [WebAssembly] Add a memory_size intrinsic.Dan Gohman2015-10-024-0/+29
| | | | llvm-svn: 249171
* AMDGPU/SI: Add verifier check for exec readsMatt Arsenault2015-10-022-2/+14
| | | | | | | Make sure we aren't accidentally not setting these in the instruction definitions. llvm-svn: 249170
OpenPOWER on IntegriCloud