- Aug 14, 2016
-
-
Saleem Abdulrasool authored
This was fixed differently by Teresa and this should no longer be needed. llvm-svn: 278622
-
Diana Picus authored
This reverts commit r278287. This commit broke the clang-cmake-thumbv7-a15-full-sh bot. See https://llvm.org/bugs/show_bug.cgi?id=28949 llvm-svn: 278621
-
Diana Picus authored
This reverts commit r278288. r278287 broke the clang-cmake-thumbv7-a15-full-sh bot. Revert this so we can get to r278287. llvm-svn: 278620
-
Sanjoy Das authored
llvm-svn: 278619
-
Sanjoy Das authored
llvm-svn: 278618
-
Sanjoy Das authored
IRCE has the ability to further version pre-loops and post-loops that it created, but this isn't useful at all. This change teaches IRCE to leave behind some metadata in the loops it creates (by cloning the main loop) so that these new loops are not re-processed by IRCE. Today this bug is hidden by another bug -- IRCE does not update LoopInfo properly so the loop pass manager does not re-invoke IRCE on the loops it split out. However, once the latter is fixed the bug addressed in this change causes IRCE to infinite-loop in some cases (e.g. it splits out a pre-loop, a pre-pre-loop from that, a pre-pre-pre-loop from that and so on). llvm-svn: 278617
-
Sanjoy Das authored
NFC meaning IRCE should not _do_ anything different, but -debug-only=irce will be a little friendlier. llvm-svn: 278616
-
Mehdi Amini authored
The auto-upgrade path could be called before the VST (global names) was fully parsed, and thus intrinsic names were not available and the autoupgrade logic could not operate. Fix link failures with ThinLTO. This is a recommit of r278610 with a different fix. llvm-svn: 278615
-
Ron Lieberman authored
LowerTargetConstantPool is not properly setting the TargetFlag to indicate desired relocation. Coding error, the offset parameter was omitted, so the TargetFlag was used as the offset, and the TargetFlag defaulted to zero. This only affects -fpic compilation, and only those items created in a Constant Pool, for example a vector of constants. Halide ran into this issue. llvm-svn: 278614
-
Mehdi Amini authored
This reverts commit r278610. Tests are broken llvm-svn: 278613
-
Sanjoy Das authored
The (negative) test case is supposed to check that IRCE does not muck with range checks it cannot handle, not that it does the right thing in the absence of profiling information. llvm-svn: 278612
-
Sanjoy Das authored
Loops containing `indirectbr` may not be in simplified form, even after running LoopSimplify. Reject then gracefully, instead of tripping an assert. llvm-svn: 278611
-
Mehdi Amini authored
The auto-upgrade path could be called before the VST (global names) was fully parsed, and thus intrinsic names were not available and the autoupgrade logic could not operate. Fix link failures with ThinLTO. llvm-svn: 278610
-
Mehdi Amini authored
This reverts commit 32fc6488e48eafc0ca1bac1bd9cbf0008224d530. llvm-svn: 278609
-
Mehdi Amini authored
This reverts commit r276447. llvm-svn: 278608
-
Sanjoy Das authored
llvm-svn: 278607
-
Sanjoy Das authored
llvm-svn: 278606
-
Mehdi Amini authored
Recommit 278600 with some fixes to make the test more robust. llvm-svn: 278604
-
Mehdi Amini authored
This reverts commit r278600. The unittest does not pass on MSVC, there is an extra move. Investigating how to make it more robust. llvm-svn: 278603
-
Yaron Keren authored
Limit DenseMap::setNumEntries input to 1<<31, in accordance with the 31 bits allocated to NumEntries. std::numeric_limits<int>::max() may be something else than 1<<31. llvm-svn: 278602
-
Mehdi Amini authored
llvm-svn: 278601
-
Mehdi Amini authored
llvm-svn: 278600
-
Sanjay Patel authored
Tests are slightly modified versions of those written by Sunita Marathe in D23391. llvm-svn: 278599
-
- Aug 13, 2016
-
-
Aditya Kumar authored
llvm-svn: 278598
-
Craig Topper authored
[X86] Add a check of isCommutable at the top of X86InstrInfo::findCommutedOpIndices. Most callers don't check if the instruction is commutable before calling. This saves us the trouble of ending up in the default of the switch and having to determine if this is an FMA or not. llvm-svn: 278597
-
Craig Topper authored
llvm-svn: 278596
-
Craig Topper authored
llvm-svn: 278595
-
Craig Topper authored
[X86] Remove patterns for (vzmovl (insert_subvector undef, (scalar_to_vector))) as the (vzmovl VR256) pattern has higher priority. NFC llvm-svn: 278594
-
Craig Topper authored
[AVX-512] Remove an AddedComplexity that was prioritizing basic vzmovl patterns over more complex ones that produce better code. llvm-svn: 278593
-
Craig Topper authored
Fixes PR28961. llvm-svn: 278592
-
Teresa Johnson authored
Summary: Refactor the existing support into a LoopDataPrefetch implementation class and a LoopDataPrefetchLegacyPass class that invokes it. Add a new LoopDataPrefetchPass for the new pass manager that utilizes the LoopDataPrefetch implementation class. Reviewers: mehdi_amini Subscribers: sanjoy, mzolotukhin, nemanjai, llvm-commits Differential Revision: https://reviews.llvm.org/D23483 llvm-svn: 278591
-
Matt Arsenault authored
llvm-svn: 278590
-
Matt Arsenault authored
Add test if the constant offset looks unaligned. llvm-svn: 278589
-
Matt Arsenault authored
llvm-svn: 278588
-
Hans Wennborg authored
llvm-svn: 278587
-
Eugene Zelenko authored
llvm-svn: 278586
-
Pete Cooper authored
Almost all of the method here are only analysing Value's as opposed to mutating them. Mark all of the easy ones as const. llvm-svn: 278585
-
Sanjoy Das authored
`IVVisitor::visitCast` used to have the invariant that if the instruction it was passed was a sext or zext instruction, the result of the instruction would be wider than the induction variable. This is no longer true after rL275037, so this change teaches `IndVarSimplify` s implementation of `IVVisitor::visitCast` to work with the relaxed invariant. A corresponding change to SimplifyIndVar to preserve the said invariant after rL275037 would also work, but given how `IVVisitor::visitCast` is spelled (no indication of said invariant), I figured the current fix is cleaner. Fixes PR28935. llvm-svn: 278584
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D23478 llvm-svn: 278583
-
Kostya Serebryany authored
llvm-svn: 278582
-