| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 244460
|
| |
|
|
| |
llvm-svn: 244458
|
| |
|
|
| |
llvm-svn: 244457
|
| |
|
|
| |
llvm-svn: 244455
|
| |
|
|
| |
llvm-svn: 244452
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 244447
|
| |
|
|
| |
llvm-svn: 244445
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Authorized-by: grosser
llvm-svn: 244441
|
| |
|
|
| |
llvm-svn: 244440
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 244438
|
| |
|
|
| |
llvm-svn: 244434
|
| |
|
|
|
|
| |
Note, I didn't reformat entirely, but partially where I touched in previous commits.
llvm-svn: 244432
|
| |
|
|
| |
llvm-svn: 244431
|
| |
|
|
| |
llvm-svn: 244430
|
| |
|
|
| |
llvm-svn: 244429
|
| |
|
|
|
|
| |
std::string&. NFC.
llvm-svn: 244426
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This is no longer used in any of the callers. Also remove the logic of
handling this argument.
llvm-svn: 244421
|
| |
|
|
|
|
| |
LoopDistribution does its own filtering now.
llvm-svn: 244420
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
CatchReturnInst::init is never referenced, remove it.
No functionality change is intended.
llvm-svn: 244408
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
single/double adds
llvm-svn: 244403
|
| |
|
|
| |
llvm-svn: 244402
|
| |
|
|
|
|
| |
No functionality change is intended.
llvm-svn: 244399
|
| |
|
|
| |
llvm-svn: 244397
|
| |
|
|
| |
llvm-svn: 244396
|
| |
|
|
|
|
| |
Fog's table suggests there have been no improvements to these processors relative to Westmere for bit test instructions.
llvm-svn: 244395
|
| |
|
|
|
|
|
| |
Found by inspection, this change should not effect the existing
landingpad behavior.
llvm-svn: 244391
|
| |
|
|
| |
llvm-svn: 244388
|
| |
|
|
|
|
|
| |
GCC 4.5 miscompiled this aspect of LLVM. We support a minimum version
of 4.7.
llvm-svn: 244387
|
| |
|
|
| |
llvm-svn: 244385
|
| |
|
|
| |
llvm-svn: 244384
|
| |
|
|
| |
llvm-svn: 244383
|
| |
|
|
| |
llvm-svn: 244382
|
| |
|
|
| |
llvm-svn: 244381
|
| |
|
|
| |
llvm-svn: 244380
|
| |
|
|
| |
llvm-svn: 244379
|
| |
|
|
| |
llvm-svn: 244378
|
| |
|
|
| |
llvm-svn: 244376
|
| |
|
|
|
|
|
| |
This function can actually fail since the symbol contains an index to the
section and that can be invalid.
llvm-svn: 244375
|
| |
|
|
|
|
|
| |
There's no test for this transform in any backend. Discovered
while debugging fast-math-flag propagation in the DAG (r244053).
llvm-svn: 244373
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
of DebugInfo tests.
llvm-svn: 244371
|