summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* fix minsize detection: minsize attribute implies optimizing for sizeSanjay Patel2015-08-102-3/+2
| | | | llvm-svn: 244460
* fix minsize detection: minsize attribute implies optimizing for sizeSanjay Patel2015-08-102-9/+8
| | | | llvm-svn: 244458
* Add missing include guard to FuzzerInternal.h, NFC.Yaron Keren2015-08-101-0/+6
| | | | llvm-svn: 244457
* Modify r244405 to clearer code, per David Blaikie suggestion.Yaron Keren2015-08-101-2/+2
| | | | llvm-svn: 244455
* Silence a sign mismatch warning; NFC.Aaron Ballman2015-08-101-1/+1
| | | | llvm-svn: 244452
* [TTI] Add a hook for specifying per-target defaults for Interleaved AccessesSilviu Baranga2015-08-104-2/+21
| | | | | | | | | | | | | | | Summary: This adds a hook to TTI which enables us to selectively turn on by default interleaved access vectorization for targets on which we have have performed the required benchmarking. Reviewers: rengolin Subscribers: rengolin, llvm-commits Differential Revision: http://reviews.llvm.org/D11901 llvm-svn: 244449
* Prevent the scalarizer from caching incorrect entriesFraser Cormack2015-08-102-2/+38
| | | | | | | | | | | | | | The scalarizer can cache incorrect entries when walking up a chain of insertelement instructions. This occurs when it encounters more than one instruction that it is not actively searching for, as it unconditionally caches every element it finds. The fix is to only cache the first element that it isn't searching for so we don't overwrite correct entries. Reviewers: hfinkel Differential Revision: http://reviews.llvm.org/D11559 llvm-svn: 244448
* elf2yaml: Use existing section walk to find the symbol table. NFC.Rafael Espindola2015-08-101-4/+7
| | | | llvm-svn: 244447
* [RegionInfo] Fix typoMichael Kruse2015-08-101-1/+1
| | | | llvm-svn: 244445
* [RegionInfo] Add debug-time region viewer functionsMichael Kruse2015-08-104-0/+108
| | | | | | | | | | | | | | | Summary: Analogously to Function::viewCFG(), RegionInfo::view() and RegionInfo::viewOnly() are meant to be called in debugging sessions. They open a viewer to show how RegionInfo currently understands the region hierarchy. The functions viewRegion(Function*) and viewRegionOnly(Function*) invoke a fresh region analysis of the function in contrast to viewRegion(RegionInfo*) and viewRegionOnly(RegionInfo*) which show the current analysis result. Reviewers: grosser Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11875 llvm-svn: 244444
* [RegionInfo] Use RegionInfo* instead of RegionInfoPass* as graph typeMichael Kruse2015-08-101-56/+62
| | | | | | | | | | | This allows printing region graphs when only the RegionInfo (e.g. Region::getRegionInfo()), but no RegionInfoPass object is available. Specifically, we will use this to print RegionInfo graphs in the debugger. Differential version: http://reviews.llvm.org/D11874 Reviewed-by: grosser llvm-svn: 244442
* [RegionInfo] Update old-style commentsMichael Kruse2015-08-101-17/+16
| | | | | Authorized-by: grosser llvm-svn: 244441
* [RegionInfo] More descriptive error messages in verifierMichael Kruse2015-08-101-3/+5
| | | | llvm-svn: 244440
* Trace copies when checking for rematerializability in spill weight calculationRobert Lougher2015-08-107-10/+196
| | | | | | | | | | | | | | | PR24139 contains an analysis of poor register allocation. One of the findings was that when calculating the spill weight, a rematerializable interval once split is no longer rematerializable. This is because the isRematerializable check in CalcSpillWeights.cpp does not follow the copies introduced by live range splitting (after splitting, the live interval register definition is a copy which is not rematerializable). Reviewers: qcolombet Differential Revision: http://reviews.llvm.org/D11686 llvm-svn: 244439
* Test commit to verify commit accessMarina Yatsina2015-08-101-0/+1
| | | | llvm-svn: 244438
* Rangify for loop, NFC.Yaron Keren2015-08-101-6/+3
| | | | llvm-svn: 244434
* Reformat headers in ADT and Support partially.NAKAMURA Takumi2015-08-1016-95/+85
| | | | | | Note, I didn't reformat entirely, but partially where I touched in previous commits. llvm-svn: 244432
* Whitespace.NAKAMURA Takumi2015-08-1033-121/+121
| | | | llvm-svn: 244431
* Reformat linebreaks.NAKAMURA Takumi2015-08-1024-45/+42
| | | | llvm-svn: 244430
* llvm/include/llvm/Support/Memory.h: Fix comment header.NAKAMURA Takumi2015-08-101-1/+1
| | | | llvm-svn: 244429
* [TableGen] Make StringInit constructor take a StringRef instead of const ↵Craig Topper2015-08-091-1/+1
| | | | | | std::string&. NFC. llvm-svn: 244426
* X86: remove a dead store (NFC)Saleem Abdulrasool2015-08-091-2/+2
| | | | | | | | The SP was always unconditionally assigned to later, but initialised early. This delays the initialisation, and avoids the dead store. Identified by clang static analysis. No functional change intended. llvm-svn: 244423
* [LAA] Remove unused pointer partition argument from needsChecking(), NFCAdam Nemet2015-08-092-18/+7
| | | | | | | This is no longer used in any of the callers. Also remove the logic of handling this argument. llvm-svn: 244421
* [LAA] Remove unused pointer partition argument from generateChecks, NFCAdam Nemet2015-08-092-9/+3
| | | | | | LoopDistribution does its own filtering now. llvm-svn: 244420
* [PHITransAddr] Don't assume that instruction operands are translatableDavid Majnemer2015-08-092-3/+22
| | | | | | | | | | | | | We can only PHI translate instructions. In our attempt to PHI translate a bitcast, we attempt to translate its operand; however, the operand might be an argument or a global instead of an instruction. Benignly bail out when this happens. This fixes PR24397. Differential Revision: http://reviews.llvm.org/D11879 llvm-svn: 244418
* [IR] Remove unused declarationDavid Majnemer2015-08-091-1/+0
| | | | | | | CatchReturnInst::init is never referenced, remove it. No functionality change is intended. llvm-svn: 244408
* cmake: Error on invalid CMAKE_BUILD_TYPEJustin Bogner2015-08-081-0/+5
| | | | | | | | | | | Apparently if you make a typo in the argument to CMAKE_BUILD_TYPE, cmake silently accepts this but doesn't apply any particular build type to your build. This means you get a build that doesn't really make any sense - it's sort of a debug build with asserts disabled. Error out instead. llvm-svn: 244406
* Fix dangling reference in DwarfLinker.cpp. The original codeYaron Keren2015-08-081-0/+1
| | | | | | | | | | | | Seq.emplace_back(Seq.back()); does not work as planned, since Seq.back() may become a dangling reference when emplace_back is called and possibly reallocates vector. To avoid this, the vector allocation should be reserved first and only then used. This broke test/tools/dsymutil/X86/custom-line-table.test with Visual C++ 2013. llvm-svn: 244405
* [x86] enable machine combiner reassociations for 128-bit vector ↵Sanjay Patel2015-08-082-0/+48
| | | | | | single/double adds llvm-svn: 244403
* Fix some comment typos.Benjamin Kramer2015-08-0863-173/+175
| | | | llvm-svn: 244402
* [IR] Cleanup some formatting issues in the EH instructionsDavid Majnemer2015-08-082-40/+34
| | | | | | No functionality change is intended. llvm-svn: 244399
* Return early on error. Should fix the asan bots.Rafael Espindola2015-08-081-0/+2
| | | | llvm-svn: 244397
* [X86] Add ADX and RDSEED to Skylake processor.Craig Topper2015-08-081-1/+2
| | | | llvm-svn: 244396
* Add SlowBTMem to Sandy Bridge and newer Intel CPUs. Reading through Agner ↵Craig Topper2015-08-081-5/+9
| | | | | | Fog's table suggests there have been no improvements to these processors relative to Westmere for bit test instructions. llvm-svn: 244395
* [InstCombine] Don't try to sink EH pad instructionsDavid Majnemer2015-08-081-2/+2
| | | | | | | Found by inspection, this change should not effect the existing landingpad behavior. llvm-svn: 244391
* 244368: Fix a comment line introduced in r244368. [-Wdocumentation]NAKAMURA Takumi2015-08-081-1/+1
| | | | llvm-svn: 244388
* [IR] Stop hacking around a bug in GCC 4.5David Majnemer2015-08-081-18/+8
| | | | | | | GCC 4.5 miscompiled this aspect of LLVM. We support a minimum version of 4.7. llvm-svn: 244387
* Add model numbers for Skylake CPUs and an additional Broadwell model.Craig Topper2015-08-081-0/+6
| | | | llvm-svn: 244385
* Add Intel family 6 model 93 as Silvermont.Craig Topper2015-08-081-0/+1
| | | | llvm-svn: 244384
* AMDGPU/SI: Another attempt to fix Windows bots broken by r244372Tom Stellard2015-08-081-1/+1
| | | | llvm-svn: 244383
* Remove unnecessary includesMatt Arsenault2015-08-082-2/+0
| | | | llvm-svn: 244382
* AMDGPU: Implement AMDGPUOperand::print()Matt Arsenault2015-08-081-1/+16
| | | | llvm-svn: 244381
* AMDGPU/SI: Remove VCCRegMatt Arsenault2015-08-086-31/+48
| | | | llvm-svn: 244380
* AMDGPU/SI: Remove source uses of VCCRegMatt Arsenault2015-08-084-15/+38
| | | | llvm-svn: 244379
* Delete dead code. NFC.Rafael Espindola2015-08-081-5/+0
| | | | llvm-svn: 244378
* AMDGPU/SI: Attempt to fix Windows bots broken by r244372Tom Stellard2015-08-081-1/+1
| | | | llvm-svn: 244376
* Convert getSymbolSection to return an ErrorOr.Rafael Espindola2015-08-0722-91/+83
| | | | | | | This function can actually fail since the symbol contains an index to the section and that can be invalid. llvm-svn: 244375
* add a missing regression test for a DAGCombiner FDIV optimizationSanjay Patel2015-08-071-0/+15
| | | | | | | There's no test for this transform in any backend. Discovered while debugging fast-math-flag propagation in the DAG (r244053). llvm-svn: 244373
* AMDGPU: Add pass to lower OpenCL image and sampler arguments.Tom Stellard2015-08-077-0/+1053
| | | | | | | | | The pass adds new kernel arguments for image attributes, and resolves calls to dummy attribute and resource id getter functions. Patch by: Zoltan Gilian llvm-svn: 244372
* [SPARC] Disable unsupported ExecutionEngine tests, and XFAIL a coupleJames Y Knight2015-08-073-2/+8
| | | | | | of DebugInfo tests. llvm-svn: 244371
OpenPOWER on IntegriCloud