summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "[ARM] Update test to use CHECK-LABEL. NFCI."Vitaly Buka2016-07-181-8/+6
| | | | | | | | Breaks asan, see https://reviews.llvm.org/D22103 This reverts commit r275777. llvm-svn: 275889
* [MC] Separate non-parsing operations from conditional chains. NFC.Nirav Dave2016-07-181-15/+20
| | | | llvm-svn: 275888
* [compiler-rt] Allow trampoline allocation further and 1 gig.Etienne Bergeron2016-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary: The trampoline allocation limits the memory scanning to 1 gig. There is an unittest that is allocating a large object which make it impossible to the trampoline allocator to find a free spot. see shadow_mapping_failures: ``` char bigchunk[1 << 30]; ``` This patch is not fixing the unittest but it's fixing it's infinite loop behavior. Reviewers: rnk Subscribers: llvm-commits, wang0109, chrisha Differential Revision: https://reviews.llvm.org/D22471 llvm-svn: 275887
* Unbreak extra tools build post r275882.Benjamin Kramer2016-07-182-0/+2
| | | | llvm-svn: 275886
* make macOS 'launch in terminal' bring terminal to the front during launchTodd Fiala2016-07-181-0/+1
| | | | | | rdar://25235812 llvm-svn: 275885
* [GVNHoist] Remove a home-grown version of replaceUsesOfWithDavid Majnemer2016-07-181-15/+2
| | | | | | | | | replaceUsesOfWith will, on average, consider fewer values when trying to do the replacement. No functional change is intended. llvm-svn: 275884
* [LCSSA] Post-process PHI-nodes created by SSAUpdate when constructing LCSSA ↵Michael Zolotukhin2016-07-182-1/+97
| | | | | | | | | | | | | | | | | | form. Summary: SSAUpdate might insert PHI-nodes inside loops, which can break LCSSA form unless we fix it up. This fixes PR28424. Reviewers: sanjoy, chandlerc, hfinkel Subscribers: uabelho, llvm-commits Differential Revision: http://reviews.llvm.org/D21997 llvm-svn: 275883
* [NFC] Header cleanupMehdi Amini2016-07-18207-376/+132
| | | | | | | | | | Summary: Removed unused headers, replaced some headers with forward class declarations Patch by: Eugene <claprix@yandex.ru> Differential Revision: https://reviews.llvm.org/D20100 llvm-svn: 275882
* AMDGPU: Remove pointless dyn_cast_or_nullMatt Arsenault2016-07-181-4/+3
| | | | | | This is already casted above so non-null llvm-svn: 275881
* Revert "[analyzer] Add checker modeling potential C++ self-assignment"Devin Coughlin2016-07-188-231/+3
| | | | | | This reverts commit r275820. It is failing on the bots. llvm-svn: 275880
* Fix -Wmicrosoft-enum-value in GVNHoist.cppReid Kleckner2016-07-181-1/+1
| | | | llvm-svn: 275879
* [X86][SSE] Regenerate extraction from promotion testSimon Pilgrim2016-07-181-6/+21
| | | | | | Added tests for SSE2 as well as SSE41 llvm-svn: 275878
* Support -masm= flag for x86 assembly targets.Yunzhong Gao2016-07-183-0/+32
| | | | | | | | | | | | | | | | | | | For assembly files without .intel_syntax or .att_syntax directives, allow the -masm= flag to supply a default assembly dialect. For example, C:\TMP> type intel.s .text mov al,0 C:\TMP> clang -masm=intel -c intel.s Without this patch, one would need to pass an "-mllvm -x86-asm-syntax=" flag directly to the backend. C:\TMP> clang -mllvm --x86-asm-syntax=intel -c intel.s Differentials Review: http://reviews.llvm.org/D22285 llvm-svn: 275877
* [X86][SSE] Regenerate extraction+store memop testsSimon Pilgrim2016-07-181-24/+90
| | | | | | Added tests for SSE2 as well as SSE41+AVX llvm-svn: 275876
* [X86][SSE] Regenerate truncate+extension memop testsSimon Pilgrim2016-07-181-42/+123
| | | | | | Added tests for SSE2 as well as SSE41 llvm-svn: 275875
* R600: Use new barrier intrinsicMatt Arsenault2016-07-181-4/+3
| | | | llvm-svn: 275874
* AMDGPU: Fix missing switch case warningMatt Arsenault2016-07-181-0/+1
| | | | llvm-svn: 275873
* Regenerate testSimon Pilgrim2016-07-181-3/+3
| | | | llvm-svn: 275872
* AMDGPU: Add intrinsic for s_flbit_i32/v_ffbh_i32Matt Arsenault2016-07-188-29/+67
| | | | llvm-svn: 275871
* AMDGPU/R600: Replace barrier intrinsicsMatt Arsenault2016-07-1812-195/+203
| | | | llvm-svn: 275870
* AMDGPU: Remove dead check in AMDGPUPromoteAllocaMatt Arsenault2016-07-183-43/+130
| | | | | | | | | | This is currently only called with GEP users. A direct alloca would only happen with current typed pointers for arrays which are a perverse case. Also fix crashes on 0 x and 1 x arrays. llvm-svn: 275869
* AMDGPU: Remove dead code and redundant checkMatt Arsenault2016-07-181-27/+1
| | | | | | | Non intrinsic calls aren't really handled, and this IntrinsicInst dyn_cast checks for the function for us. llvm-svn: 275868
* [ThinLTO] Address review comments from PGO indirect call promotion (NFC)Teresa Johnson2016-07-181-13/+17
| | | | | | Address a couple of post-commit review comments from r275707. llvm-svn: 275867
* CodeGenPrep: use correct function to determine Global's alignment.Tim Northover2016-07-182-1/+10
| | | | | | | | | Elsewhere (particularly computeKnownBits) we assume that a global will be aligned to the value returned by Value::getPointerAlignment. This is used to boost the alignment on memcpy/memset, so any target-specific request can only increase that value. llvm-svn: 275866
* Delete dead code.Rafael Espindola2016-07-181-19/+8
| | | | | | And make it easier to spot code going dead by using elf::. llvm-svn: 275858
* docs/conf.py: update version to 4.0Hans Wennborg2016-07-181-2/+2
| | | | llvm-svn: 275849
* docs/conf.py: update version to 4.0Hans Wennborg2016-07-182-4/+4
| | | | llvm-svn: 275848
* docs/conf.py: update version to 4.0Hans Wennborg2016-07-181-2/+2
| | | | llvm-svn: 275847
* Trunk release notes are now for 4.0.0Hans Wennborg2016-07-181-343/+11
| | | | | | The 3.9 release are on the 3.9 branch. llvm-svn: 275846
* Trunk release notes are now for 4.0.0Hans Wennborg2016-07-181-5/+5
| | | | | | The 3.9 release are on the 3.9 branch. llvm-svn: 275845
* Trunk release notes are now for 4.0.0Hans Wennborg2016-07-181-96/+11
| | | | | | The 3.9 release are on the 3.9 branch. llvm-svn: 275844
* [llvm-cov] Re-write a very opaque comment (NFC)Vedant Kumar2016-07-181-1/+1
| | | | llvm-svn: 275843
* Trunk release notes now refer to 4.0.0Hans Wennborg2016-07-181-85/+11
| | | | llvm-svn: 275842
* [llvm-cov] Place anchors around line numbers in html reportsVedant Kumar2016-07-183-58/+61
| | | | | | Based on a suggestion by Harlan Haskins! llvm-svn: 275840
* [llvm-cov] Clean up error reporting (NFC)Vedant Kumar2016-07-181-47/+25
| | | | | | Use CodeCoverageTool::{error,warning} everywhere. llvm-svn: 275837
* Bump the trunk version to 4.0.0svn.Hans Wennborg2016-07-183-6/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D21821 llvm-svn: 275827
* [clang-cl] Reinstate -gline-tables-only as a CoreOption while we sort out ↵Reid Kleckner2016-07-181-1/+1
| | | | | | the fate of /Zd llvm-svn: 275826
* [Hexagon] Handle returning small structures by valueKrzysztof Parzyszek2016-07-181-1/+7
| | | | | | | This is not compliant with the official ABI, but allows experimentation with calling conventions. llvm-svn: 275825
* [Hexagon] Revert r275822: mistake in commit messageKrzysztof Parzyszek2016-07-181-7/+1
| | | | llvm-svn: 275824
* [X86][AVX] Add target shuffle decode support for VBROADCASTSimon Pilgrim2016-07-184-4/+19
| | | | | | Currently we only decode broadcasts from a vector of the same size. llvm-svn: 275823
* [Hexagon] Handle returning small structures by valueKrzysztof Parzyszek2016-07-182-1/+25
| | | | | | | This is compliant with the official ABI, but allows experimentation with calling conventions. llvm-svn: 275822
* Set up arcconfig for parallel-libs projectJason Henline2016-07-181-0/+4
| | | | llvm-svn: 275821
* [analyzer] Add checker modeling potential C++ self-assignmentDevin Coughlin2016-07-188-3/+231
| | | | | | | | | | | | | | | | | | This checker checks copy and move assignment operators whether they are protected against self-assignment. Since C++ core guidelines discourages explicit checking for `&rhs==this` in general we take a different approach: in top-frame analysis we branch the exploded graph for two cases, where &rhs==this and &rhs!=this and let existing checkers (e.g. unix.Malloc) do the rest of the work. It is important that we check all copy and move assignment operator in top frame even if we checked them already since self-assignments may happen undetected even in the same translation unit (e.g. using random indices for an array what may or may not be the same). A patch by Ádám Balogh! Differential Revision: https://reviews.llvm.org/D19311 llvm-svn: 275820
* Don't use pthread initializers in constexpr constructors. Patch by elram. ↵Marshall Clow2016-07-181-5/+14
| | | | | | Reviewed at https://reviews.llvm.org/D21637. llvm-svn: 275819
* [X86] Accept SELECT op code for x86-64 fp128 typeChih-Hung Hsieh2016-07-182-0/+36
| | | | | | | | | | DAGTypeLegalizer::CanSkipSoftenFloatOperand should allow SELECT op code for x86_64 fp128 type for MME targets, so SoftenFloatOperand does not abort on SELECT op code. Differential Revision: http://reviews.llvm.org/D21758 llvm-svn: 275818
* Release note for 'nodebug' on variablesPaul Robinson2016-07-181-0/+10
| | | | llvm-svn: 275817
* revert https://reviews.llvm.org/D22393Etienne Bergeron2016-07-181-2/+0
| | | | | | It is breaking build 32-bit build bots. llvm-svn: 275816
* [MathExtras] Fix UB in minIntNDavid Majnemer2016-07-181-1/+1
| | | | | | | | | We negated a value with a signed type which invited problems when that value was the most negative signed number. Use an unsigned type for the value instead. It will compute the same twos complement result without the UB. llvm-svn: 275815
* Add streamexecutor directoryJason Henline2016-07-181-0/+1
| | | | llvm-svn: 275814
* Replace llvm.AMDGPU.ldexp with llvm.amdgcn.ldexpMatt Arsenault2016-07-183-3/+3
| | | | | | | It didn't really work on r600 to begin with, which should get its own intrinsic. llvm-svn: 275813
OpenPOWER on IntegriCloud