summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add negative test for TBAARoger Ferrer Ibanez2016-07-061-0/+4
| | | | | | | | | Revision r178818 added tests for TBAA but was missing negative tests to ensure that TBAA markers are not emitted when TBAA is off. Differential Revision: http://reviews.llvm.org/D21295 llvm-svn: 274610
* test: Drop unnecessary -polly-code-generator=isl flagTobias Grosser2016-07-061-2/+2
| | | | | | | isl is already the default code generator since we switched from CLooG several years ago. llvm-svn: 274609
* [X86] Use native IR for immediate values 0-7 of packed fp cmp builtins. This ↵Craig Topper2016-07-062-3/+54
| | | | | | makes them the same as what is done when using the SSE builtins for these same encodings. llvm-svn: 274608
* [X86] Remove GCC builtin names from sse/avx packed fp cmp intrinsics so ↵Craig Topper2016-07-061-4/+4
| | | | | | clang can special handle some of the immediate values. llvm-svn: 274607
* Fix handling of forward unreachable but reverse-reachable blocks in ↵Daniel Berlin2016-07-062-2/+39
| | | | | | MemorySSA construction llvm-svn: 274606
* Fix typo in #ifdef, and re-enable tests now that the green-dragon bots are ↵Marshall Clow2016-07-061-7/+7
| | | | | | no more llvm-svn: 274605
* [OpenMP] Sema and parsing for 'distribute simd' pragmaKelvin Li2016-07-0634-16/+3742
| | | | | | | | Summary: This patch is an implementation of sema and parsing for the OpenMP composite pragma 'distribute simd'. Differential Revision: http://reviews.llvm.org/D22007 llvm-svn: 274604
* [AVX512] Use the generic ctlz intrinsic to implement the vplzcntd/q builtins.Craig Topper2016-07-063-18/+42
| | | | llvm-svn: 274603
* [AVX512] Remove GCC builtins from the vplzcntd/q intrinsics so we can emit ↵Craig Topper2016-07-061-6/+0
| | | | | | native IR using the generic ctlz intrinsic in clang. llvm-svn: 274602
* [AST] Use ArrayRef in more interfacesDavid Majnemer2016-07-065-164/+111
| | | | | | | | ArrayRef is a little better than passing around a pointer/length pair. No functional change is intended. llvm-svn: 274601
* [AVX512] The 128 and 256-bit vplzcnt builtins require avx512cd in addition ↵Craig Topper2016-07-061-4/+4
| | | | | | to avx512vl. llvm-svn: 274600
* Delete some dead code, NFCVedant Kumar2016-07-061-10/+0
| | | | | | Found using clang's code coverage tool. llvm-svn: 274599
* GPURuntime: Only print status in debug modeTobias Grosser2016-07-061-3/+3
| | | | | | | This change moves all status messages that are printed in non-error mode behind the POLLY_DEBUG flag. llvm-svn: 274598
* GPURuntime: Drop polly_allocateMemoryForHostAndDeviceTobias Grosser2016-07-062-22/+0
| | | | | | | There is function is currently unused and will be replaced in the future by functions that allow to allocate memory only on the host or only on the device. llvm-svn: 274597
* GPURuntime: Add basic debug tracing infrastructureTobias Grosser2016-07-061-0/+38
| | | | | | | When setting the POLLY_DEBUG environment variable, on calls to the run-time library the name of the function called is printed to stderr. llvm-svn: 274596
* Try to fix polly buildbots.George Burgess IV2016-07-061-1/+0
| | | | | | Broken by r274589. llvm-svn: 274595
* Fix Linux build.Oleksiy Vyalov2016-07-061-1/+1
| | | | llvm-svn: 274594
* Allows "experimental" settings that will either route to their containingJim Ingham2016-07-063-2/+55
| | | | | | | | | | | | | | settings or raise no error if not found. From time to time it is useful to add some setting to work around or enable a transitory feature. We've been reluctant to remove them later because then we will break folks .lldbinit files. With this change you can add an "experimental" node to the settings. If you later decide you want to keep the option, just move it to the level that contained the "experimental" setting and it will still be found. Or just remove it - setting it will then silently fail and won't halt the .lldbinit file execution. llvm-svn: 274593
* [CFLAA] Split out more things from CFLSteens. NFC.George Burgess IV2016-07-066-196/+322
| | | | | | | | | | | "More things" = StratifiedAttrs and various bits like interprocedural summaries. Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D21964 llvm-svn: 274592
* [CFLAA] Split the CFL graph out from CFLSteens. NFC.George Burgess IV2016-07-064-122/+157
| | | | | | | | Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D21963 llvm-svn: 274591
* [MSSA] Fix typo. NFC.George Burgess IV2016-07-061-1/+1
| | | | llvm-svn: 274590
* [CFLAA] Split into Anders+Steens analysis.George Burgess IV2016-07-0647-165/+367
| | | | | | | | | | | | | | | | | | | | | StratifiedSets (as implemented) is very fast, but its accuracy is also limited. If we take a more aggressive andersens-like approach, we can be way more accurate, but we'll also end up being slower. So, we've decided to split CFLAA into CFLSteensAA and CFLAndersAA. Long-term, we want to end up in a place where CFLSteens is queried first; if it can provide an answer, great (since queries are basically map lookups). Otherwise, we'll fall back to CFLAnders, BasicAA, etc. This patch splits everything out so we can try to do something like that when we get a reasonable CFLAnders implementation. Patch by Jia Chen. Differential Revision: http://reviews.llvm.org/D21910 llvm-svn: 274589
* Attempt to reduce flakiness in workingset-samples.cppDavid Majnemer2016-07-061-5/+5
| | | | | | | The test is matching against 'KB' but it looks like the output can be 'MB'. llvm-svn: 274587
* AArch64: try to fix optimized build failure.Tim Northover2016-07-051-1/+2
| | | | | | | | | I think the Ops filled out by Regex::match contain pointers into the temporary std::string returned by StringRef::upper. Its lifetime is extended by the call to match, but only until the end of that call (not to the uses of Ops later on). llvm-svn: 274586
* Warning about debugging optimized code was not happening without dSYMs. Now ↵Greg Clayton2016-07-0511-51/+113
| | | | | | | | | | it works for DWARF in .o files on Darwin. I changed "m_is_optimized" in lldb_private::CompileUnit over to be a lldb::LazyBool so that it can be set to eLazyBoolCalculate if it needs to be parsed later. With SymbolFileDWARFDebugMap, we don't actually open the DWARF in the .o files for each compile unit until later, and we can't tell if a compile unit is optimized ahead of time. So to avoid pulling in all .o right away just so we can answer the questions of "is this compile unit optimized" we defer it until a point where we will have the compile unit parsed. <rdar://problem/26068360> llvm-svn: 274585
* TableGen: avoid string copy.Tim Northover2016-07-051-1/+1
| | | | llvm-svn: 274584
* [X86][AVX2] Simplified BROADCAST combining to avoid repeated matching attemptsSimon Pilgrim2016-07-051-12/+9
| | | | llvm-svn: 274583
* Fix an ordering problem in r274431Manman Ren2016-07-051-1/+1
| | | | llvm-svn: 274582
* AMDGPU: Remove unnecessary string usage in AsmPrinterMatt Arsenault2016-07-052-38/+49
| | | | | | | | Registers are printed a lot, so don't create temporary std::strings. Using char instead of a string to an ostream saves a function call. llvm-svn: 274581
* Fixed a bug where we report a single type multiple times in namespaces.Sean Callanan2016-07-0510-6/+164
| | | | | | | | Also added a testcase. <rdar://problem/22786569> llvm-svn: 274580
* [asan] Update tests according to r274578Ryan Govostes2016-07-052-2/+2
| | | | llvm-svn: 274579
* [asan] Add a hidden option for Mach-O global metadata liveness trackingRyan Govostes2016-07-052-1/+11
| | | | llvm-svn: 274578
* [OpenMP] remove outdated comment (NFC)Kelvin Li2016-07-051-1/+0
| | | | llvm-svn: 274577
* AArch64: TableGenerate system instruction operands.Tim Northover2016-07-0521-1999/+1664
| | | | | | | | | | | | | | | | | | | | The way the named arguments for various system instructions are handled at the moment has a few problems: - Large-scale duplication between AArch64BaseInfo.h and AArch64BaseInfo.cpp - That weird Mapping class that I have no idea what I was on when I thought it was a good idea. - Searches are performed linearly through the entire list. - We print absolutely all registers in upper-case, even though some are canonically mixed case (SPSel for example). - The ARM ARM specifies sysregs in terms of 5 fields, but those are relegated to comments in our implementation, with a slightly opaque hex value indicating the canonical encoding LLVM will use. This adds a new TableGen backend to produce efficiently searchable tables, and switches AArch64 over to using that infrastructure. llvm-svn: 274576
* TableGen: promote "code" type from syntactic sugar.Tim Northover2016-07-054-5/+89
| | | | | | | It's being immediately converted to a "string", but being able to tell what type the field was originally can be useful in backends. llvm-svn: 274575
* Transfer ownership of the gold plugin.Rafael Espindola2016-07-051-4/+4
| | | | llvm-svn: 274574
* Revert r259387: "AArch64: Implement missed conditional compare sequences."Balaram Makam2016-07-054-116/+16
| | | | | | | This reverts commit r259387 because it inserts illegal code after legalization in some backends where i64 OR type is illegal for example. llvm-svn: 274573
* [X86][AVX2] Add support for target shuffle combining to BROADCASTSimon Pilgrim2016-07-053-6/+174
| | | | | | Only support broadcast from vector register so far - memory folding support will have to wait. llvm-svn: 274572
* [X86][AVX512] Fixed decoding of permd/permpd variable mask shuffles + ↵Simon Pilgrim2016-07-054-7/+59
| | | | | | | | enabled them for target shuffle combining Corrected element mask masking to extract the bottom index bits (now matches the perm2 implementation but for unary inputs). llvm-svn: 274571
* ARM: fix `-mlong-calls` for WoASaleem Abdulrasool2016-07-052-2/+2
| | | | | | | | | Not all code-paths set the relocation model to static for Windows. This currently breaks on Windows ARM with `-mlong-calls` when built with clang. Loosen the assertion to what it was previously. We would ideally ensure that all the configuration sets Windows to static relocation model. llvm-svn: 274570
* DAGCombiner: Fold away vector extract of insert with the same indexMatt Arsenault2016-07-052-0/+74
| | | | | | | This only really matters when the index is non-constant since the constant case already gets taken care of by other combines. llvm-svn: 274569
* Fix "lldb.SBProcess.is_stopped" and "lldb.SBProcess.is_running" to do the ↵Greg Clayton2016-07-051-3/+3
| | | | | | | | right thing. https://llvm.org/bugs/show_bug.cgi?id=28428 llvm-svn: 274568
* AArch64: use correct SDValue # when looking for bitfield placement.Tim Northover2016-07-052-2/+39
| | | | | | | | | | The other use really does only care about the SDNode (it checks the opcode against a whitelist), but bitFieldPlacement can be misled if the node produces multiple results. Patch by Ismail Badawi. llvm-svn: 274567
* [Sema] Fix a bug where pack expansion was not expanded in type aliasErik Pilkington2016-07-052-2/+40
| | | | | | | | | | The problem is that the parameter pack in a function type type alias is not reexpanded after being transformed. Also remove an incorrect comment in a similar function. Fixes PR26017. Differential Revision: http://reviews.llvm.org/D21030 llvm-svn: 274566
* Re-apply "test: Use add_lit_testsuites so that subsets of tests can be ↵Justin Bogner2016-07-0511-7/+12
| | | | | | | | | | | | | | | | | specified" This version should actually remove the empty directories I removed all of the files from. Thanks to tstellar for pointing out git-svn's --rmdir flag. Original message: This creates make/ninja targets like check-clang-codegen and check-clang-unit, much like LLVM already has. I had to move some input files into Input directories so they weren't picked up as test directories. llvm-svn: 274565
* AMDGPU: Fix folding SGPRs into madak/madmk src0Matt Arsenault2016-07-055-6/+55
| | | | | | | | | | Because of the special immediate operand, the constant bus is already used so SGPRs are never useful. r263212 changed the name of the immediate operand, which broke the verifier check for the restriction. llvm-svn: 274564
* [MC/Darwin] Fix a -Wmisleading-indentation warning, reported by GCC 6.Davide Italiano2016-07-051-2/+2
| | | | llvm-svn: 274563
* Revert "test: Use add_lit_testsuites so that subsets of tests can be specified"Justin Bogner2016-07-0511-12/+7
| | | | | | | This reverts r274560. It's breaking a bunch of bots due to a directory with a space in the name. Doesn't repro locally for some reason. llvm-svn: 274562
* AMDGPU/SI: Remove address space query functions from AMDGPUDAGToDAGISelTom Stellard2016-07-053-156/+78
| | | | | | | | | | | | | | | Summary: These have been replaced with TableGen code (except for isConstantLoad, which is still used for R600). The queries were broken for cases where MemOperand was a PseudoSourceValue. Reviewers: arsenm Subscribers: arsenm, kzhuravl, llvm-commits Differential Revision: http://reviews.llvm.org/D21684 llvm-svn: 274561
* test: Use add_lit_testsuites so that subsets of tests can be specifiedJustin Bogner2016-07-0511-7/+12
| | | | | | | | | This creates make/ninja targets like check-clang-codegen and check-clang-unit, much like LLVM already has. I had to move some input files into Input directories so they weren't picked up as test directories. llvm-svn: 274560
OpenPOWER on IntegriCloud