summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BlockGenerators: Allow values to be removed from ScalarMapTobias Grosser2016-02-261-0/+11
| | | | | | | This function is not yet used in Polly, but is useful to external projects that generate multi-module code using Polly. llvm-svn: 262010
* IslAst: Expose run-time check generation as individual functionTobias Grosser2016-02-262-4/+16
| | | | | | | | This allows to construct run-time checks for a scop without having to generate a full AST. This is currently not taken advantage of in Polly itself, but external users may benefit from this feature. llvm-svn: 262009
* [PM] Finish removing references to fix MSVC builds. Somehow adding baseChandler Carruth2016-02-261-8/+16
| | | | | | | | | classes changed whether the decltype of these expressions was a reference. I'm somewhat horrified why, and there may need to be a deeper fix on MSVC, but this should at least get the bots a step further. llvm-svn: 262008
* Reverting breaking change. Sorry.Chris Dewhurst2016-02-266-334/+21
| | | | llvm-svn: 262007
* [PM] Speculative patch to try and fix MSVC's compilation.Chandler Carruth2016-02-261-1/+3
| | | | | | No idea why r262004 triggered this, but just trying to fix somehow. llvm-svn: 262006
* Reviewed at reviews.llvm.org/D17133Chris Dewhurst2016-02-266-21/+334
| | | | llvm-svn: 262005
* [PM] Introduce CRTP mixin base classes to help define passes andChandler Carruth2016-02-2659-454/+123
| | | | | | | | | | | | | | | | | analyses in the new pass manager. These just handle really basic stuff: turning a type name into a string statically that is nice to print in logs, and getting a static unique ID for each analysis. Sadly, the format of passes in anonymous namespaces makes using their names in tests really annoying so I've customized the names of the no-op passes to keep tests sane to read. This is the first of a few simplifying refactorings for the new pass manager that should reduce boilerplate and confusion. llvm-svn: 262004
* Initial test commit onlyChris Dewhurst2016-02-261-1/+0
| | | | llvm-svn: 262003
* Update to isl-0.16.1-68-g8fad211Tobias Grosser2016-02-2643-258/+1668
| | | | | | | | This commit updates to the latest isl development version. There is no specific feature we need on the Polly side, but we want to ensure test coverage for the latest isl changes. llvm-svn: 262001
* Use relative lines in CHECKs in race_on_mutex.cAlexander Kornienko2016-02-261-15/+14
| | | | llvm-svn: 262000
* Test commit.Vassil Vassilev2016-02-261-5/+5
| | | | llvm-svn: 261999
* [clang-tidy] Minor change in the docAlexander Kornienko2016-02-261-1/+1
| | | | llvm-svn: 261998
* [PM] Remove a FIXME now that it is no longer needed.Chandler Carruth2016-02-266-28/+6
| | | | | | This has been fixed for some time, but the code hadn't been updated. llvm-svn: 261996
* [AMDGPU] Assembler: Basic support for MIMGNikolay Haustov2016-02-2617-163/+321
| | | | | | | | | | | Add parsing and printing of image operands. Matches legacy sp3 assembler. Change image instruction order to have data/image/sampler operands in the beginning. This is needed because optional operands in MC are always last. Update SITargetLowering for new order. Add basic MC test. Update CodeGen tests. Review: http://reviews.llvm.org/D17574 llvm-svn: 261995
* [MemAccInst] Introduce the '->' operator and remove the simple wrapper ↵Hongbin Zheng2016-02-263-19/+9
| | | | | | functions. NFC llvm-svn: 261994
* Coalesce Read/Write/MayWrite right after we collected them. NFCHongbin Zheng2016-02-261-4/+4
| | | | llvm-svn: 261993
* [PM] Clean up some formatting with the latest clang-format.Chandler Carruth2016-02-261-5/+5
| | | | llvm-svn: 261992
* [clang-tidy] Fix a crash issue when clang-tidy runs with compilation database.Haojian Wu2016-02-265-6/+116
| | | | | | | | | | | | | | | | | | | | | Summary: The clang-tidy will trigger an assertion if it's not in the building directory. TEST: cd <llvm-repo>/ ./build/bin/clang-tidy --checks=-*,modernize-use-nullptr -p build tools/clang/tools/extra/clang-tidy/ClangTidy.cpp The crash issue is gone after applying this patch. Fixes PR24834, PR26241 Reviewers: bkramer, alexfh Subscribers: rizsotto.mailinglist, cfe-commits Differential Revision: http://reviews.llvm.org/D17335 llvm-svn: 261991
* [AArch64] Slight cleanup in FPLoadBalancingJames Molloy2016-02-261-2/+1
| | | | | | | | Instead of the convoluted if-statment we can just use getColor. This also fixes a bug where we relied upon the parity of tablegen-generated register indexes (instead of using the machine encoding). llvm-svn: 261990
* [X86][F16C] Added native IR half/float conversion tests.Simon Pilgrim2016-02-261-0/+1760
| | | | | | Placeholder tests until we start improving native vector support. llvm-svn: 261989
* llvm-dwp: provide diagnostics for duplicate DWO IDsDavid Blaikie2016-02-265-3/+93
| | | | | | | | | | | | | | These diagnostics aren't perfect - in the case of merging several dwos into dwps and those dwps into more dwps - just getting the message about the original source file name might not be much help (since it's the same in both dwos, by definition - but doesn't tell you which chain of dwps to backtrack) It might be worth adding the DW_AT_dwo_id to the split debug info to improve the diagnostic experience - might help track down the duplicates better. llvm-svn: 261988
* llvm-dwp: Support empty .dwo filesDavid Blaikie2016-02-263-9/+19
| | | | | | | | | Though a bit odd, this is handy for a few reasons - for example, in a build system that wants consistent input/output of build steps, but where split-dwarf might be overriden/disabled by the user on a per-file basis. llvm-svn: 261987
* [TSAN] XFAIL race_on_mutex.cc for MIPSSagar Thakur2016-02-261-0/+4
| | | | | | | | This test expects pthread_mutex_init in the frame #0 of thread T1 but we get memset at frame #0 because memset that is called from pthread_init_mutex is being intercepted by TSan llvm-svn: 261986
* [X86] Null out some redundant patterns for masked vector register to ↵Craig Topper2016-02-261-10/+19
| | | | | | | | register moves. These can be accomplished with both aligned and unaligned opcodes. Currently aligned is what is being used so remove the redundant patterns for the unaligned versions. But don't do this for the byte and word vector types since they don't have aligned versions. llvm-svn: 261985
* [TableGen] Fix typos in comments. NFCCraig Topper2016-02-261-2/+2
| | | | llvm-svn: 261984
* [X86] Add test cases for r261977 and fix a grammatical error.Craig Topper2016-02-262-1/+5
| | | | llvm-svn: 261983
* [MSan] Endianness should not matter while printing a byteMohit K. Bhakkad2016-02-263-11/+2
| | | | | | | | | | | Reviewers: eugenis Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17264 Differential Revision: http://reviews.llvm.org/D17563 llvm-svn: 261982
* [JumpThreading] Simplify Instructions first in ComputeValueKnownInPredecessors()Haicheng Wu2016-02-262-20/+85
| | | | | | This change tries to find more opportunities to thread over basic blocks. llvm-svn: 261981
* [MSAN] Fix test SmallPreAllocatedStackThread for MIPSSagar Thakur2016-02-261-0/+4
| | | | | | | | | Summary: Msan was intercepting version 2.1 of the pthread_create function which was making it to crash in libc because __pthread_create_2_1 modifies the stack attributes of the thread. Intercepting the correct version fixes the test SmallPreAllocatedStackThread. Reviewers: eugenis, samsonov Subscribers: llvm-commits, mohit.bhakkad, jaydeep Differential: http://reviews.llvm.org/D17603 llvm-svn: 261980
* [X86] Remove a couple returns after llvm_unreachables. NFCCraig Topper2016-02-261-6/+2
| | | | llvm-svn: 261979
* [X86] Use inclusive ranges for XMM/YMM/ZMM registers in is32Extended and ↵Craig Topper2016-02-261-9/+9
| | | | | | isX86_64ExtendedReg. NFC llvm-svn: 261978
* [X86] Explicitly diagnose use of %xmm16-%xmm31, %ymm16-%ymm31 and ↵Craig Topper2016-02-261-1/+7
| | | | | | %zmm16-%zmm31 when AVX512 is not enabled in the asm parser. llvm-svn: 261977
* [Driver] Disable frame pointer elimination by default if target isAkira Hatanaka2016-02-262-0/+4
| | | | | | | | x86_64-pc-win32-macho. rdar://problem/24470634 llvm-svn: 261976
* [MSVC Compat] Don't evaluate member base expressions w/o side effectsDavid Majnemer2016-02-262-3/+31
| | | | | | | | | | | | A member expression's base doesn't always have an impact on what the member decl would evaluate to. In such a case, the base is used as a poor man's scope qualifier. This fixes PR26738. Differential Revision: http://reviews.llvm.org/D17619 llvm-svn: 261975
* Make TestPlatformProcessConnect to support abstract/domain sockets.Oleksiy Vyalov2016-02-261-4/+20
| | | | llvm-svn: 261974
* Another fix the testcase introduced by r261903 - Add the missing matchesHongbin Zheng2016-02-261-3/+3
| | | | llvm-svn: 261971
* [analyzer] Prune some incorrect \param doc comment annotations.Devin Coughlin2016-02-262-15/+15
| | | | llvm-svn: 261970
* Clear alias argument vector for 'p' alias.Chaoren Lin2016-02-261-0/+2
| | | | | | | | | | | | Summary: This fixes the 'p' command which should be aliased to 'expresion --'. Reviewers: jingham Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D17634 llvm-svn: 261969
* Minor doc fix: statepoints are invokable tooSanjoy Das2016-02-261-2/+3
| | | | llvm-svn: 261968
* MachineCopyPropagation: Catch copies of the form A<-B;A<-BMatthias Braun2016-02-264-63/+179
| | | | | | Differential Revision: http://reviews.llvm.org/D17475 llvm-svn: 261966
* MachineCopyPropagation: Keep scanning through instructions with regmasksMatthias Braun2016-02-262-59/+114
| | | | | | | | | | | | | | | | | | | | | | | This also simplifies the code by removing the overly conservative NoInterveningSideEffect() function. This function checked: - That the two copies belong to the same block: We only process one block at a time and clear our maps in between it is impossible to find a copy from a different block. - There is no terminator between the two copy instructions: This is not allowed anyway (the MachineVerifier would complain) - Does not have instructions with hasUnmodeledSideEffects() or isCall() set: Even for those instructuction we must have all clobbers/defs of registers explicit as an operand. If the register is explicitely clobbered we would never come to the point of checking for NoInterveningSideEffect() anyway. (I also checked this with a temporary build of the test-suite with all potentially failing conditions in NoInterveningSideEffect() turned into asserts) Differential Revision: http://reviews.llvm.org/D17474 llvm-svn: 261965
* Add a newline at the end of the file.Rafael Espindola2016-02-261-1/+1
| | | | llvm-svn: 261964
* Checkers/CheckObjCDealloc.cpp: Prune "\param". [-Wdocumentation]NAKAMURA Takumi2016-02-261-1/+1
| | | | llvm-svn: 261963
* OpenMPClause.h: Fix typo in \param. [-Wdocumentation]NAKAMURA Takumi2016-02-261-1/+1
| | | | llvm-svn: 261962
* [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttrXiuli Pan2016-02-2612-24/+117
| | | | | | | | | | | | | | | Summary: OpenCL access qualifiers are now not only used for image types, refine it to avoid misleading, Add semacheck for OpenCL access qualifier as well as test caees. Reviewers: pekka.jaaskelainen, Anastasia, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: http://reviews.llvm.org/D16040 llvm-svn: 261961
* Make vtables_blacklist dependency conditional on existence of clang target.Peter Collingbourne2016-02-261-1/+3
| | | | llvm-svn: 261960
* [PGO] Add test case to ensure covmap section is not allocatable.Xinliang David Li2016-02-262-0/+9
| | | | | | Differential Revision: http://reviews.llvm.org/D17324 llvm-svn: 261959
* [LoopUnrollAnalyzer] Check that we're using SCEV for the same loop we're ↵Michael Zolotukhin2016-02-264-5/+53
| | | | | | | | | | | | | | simulating. Summary: Check that we're using SCEV for the same loop we're simulating. Otherwise, we might try to use the iteration number of the current loop in SCEV expressions for inner/outer loops IVs, which is clearly incorrect. Reviewers: chandlerc, hfinkel Subscribers: sanjoy, llvm-commits, mzolotukhin Differential Revision: http://reviews.llvm.org/D17632 llvm-svn: 261958
* [profile] Compute number of data entries correctlyVedant Kumar2016-02-264-7/+18
| | | | | | | | | | | | | | | | Compiler-rt miscalculates the number of entries in the __llvm_prf_data section on i386 Darwin. This results in a number of test failures (which we started catching after r261344). The fix we attempted earlier is insufficient (r261683). It caused some tests to start passing again, but that hid the fact that we drop some data entries. This patch should fix the real problem. It fixes the way we compute DataSize by taking into account the way the Darwin linker lays out __llvm_prf_data. Differential Revision: http://reviews.llvm.org/D17623 llvm-svn: 261957
* Fix a warning about an unused variable in release builds.Chandler Carruth2016-02-261-0/+1
| | | | llvm-svn: 261956
OpenPOWER on IntegriCloud