- Oct 20, 2015
-
-
Tobias Grosser authored
We isolate full tiles from partial tiles to be able to, for example, vectorize loops with parametric lower and/or upper bounds. If we use -polly-vectorizer=stripmine, we can see execution-time improvements: correlation from 1m7361s to 0m5720s (-67.05 %), covariance from 1m5561s to 0m5680s (-63.50 %), ary3 from 2m3201s to 1m2361s (-46.72 %), CrystalMk from 8m5565s to 7m4285s (-13.18 %). The current full/partial tile separation increases compile-time more than necessary. As a result, we see in compile time regressions, for example, for 3mm from 0m6320s to 0m9881s (56.34%). Some of this compile time increase is expected as we generate more IR and consequently more time is spent in the LLVM backends. However, a first investiagation has shown that a larger portion of compile time is unnecessarily spent inside Polly's parallelism detection and could be eliminated by propagating existing knowledge about vector loop parallelism. Before enabling -polly-vectorizer=stripmine by default, it is necessary to address this compile-time issue. Contributed-by:
Roman Gareev <gareevroman@gmail.com> Reviewers: jdoerfert, grosser Subscribers: grosser, #polly Differential Revision: http://reviews.llvm.org/D13779 llvm-svn: 250809
-
George Rimar authored
Target has supportsLazyRelocations() method which can switch lazy relocations on/off (currently all targets are OFF except x64 which is ON). So no any other targets are affected now. Differential Revision: http://reviews.llvm.org/D13856?id=37726 llvm-svn: 250808
-
George Rimar authored
llvm-svn: 250807
-
Yury Gribov authored
Differential revision: http://reviews.llvm.org/D13775 llvm-svn: 250806
-
Manuel Klimek authored
llvm-svn: 250805
-
Benjamin Kramer authored
llvm-svn: 250804
-
Benjamin Kramer authored
Partially reverts r250418. llvm-svn: 250803
-
Marshall Clow authored
llvm-svn: 250802
-
Mohit K. Bhakkad authored
Reviewers: clayborg, labath. Subscribers: jaydeep, dsanders, bhushan, sagar, nitesh.jain, emaste,lldb-commits. Differential Revision: http://reviews.llvm.org/D13646 llvm-svn: 250801
-
Davide Italiano authored
Thanks to Rui for pointing out! llvm-svn: 250800
-
Davide Italiano authored
The option now just sets NOW bit in DT_FLAGS_1 but some loaders seem to require also BIND_NOW bit to be set in DT_FLAGS. This is, also, what ld.bfd and gold do. Differential Revision: http://reviews.llvm.org/D13883 llvm-svn: 250799
-
Enrico Granata authored
llvm-svn: 250798
-
Matt Arsenault authored
llvm-svn: 250797
-
Lang Hames authored
symbol definition is found in the logical dylibs. llvm-svn: 250796
-
Alexey Bataev authored
Currently debug info for types used in explicit cast only is not emitted. It happened after a patch for better alignment handling. This patch fixes this bug. Differential Revision: http://reviews.llvm.org/D13582 llvm-svn: 250795
-
Matt Arsenault authored
This wasn't doing anything useful. They weren't explicitly used anywhere, and the RegScavenger ignores reserved registers. This for some reason caused a random scheduling change in the test. Getting the check lines to pass is too frustrating, and there's probably not too much value in checking the vector case's operands N times. llvm-svn: 250794
-
JF Bastien authored
They are now typeless, unlike other operations. llvm-svn: 250793
-
Duncan P. N. Exon Smith authored
llvm-svn: 250792
-
Duncan P. N. Exon Smith authored
llvm-svn: 250791
-
Duncan P. N. Exon Smith authored
llvm-svn: 250790
-
Eugene Zelenko authored
Differential Revision: http://reviews.llvm.org/D13876 llvm-svn: 250789
-
Duncan P. N. Exon Smith authored
llvm-svn: 250788
-
Duncan P. N. Exon Smith authored
llvm-svn: 250787
-
Sanjoy Das authored
Since LiveVariables is uniqued (we just created it from a `DenseSet`), `FindIndex(LiveVariables, LiveVariables[i])` is always `i`. llvm-svn: 250786
-
Sanjoy Das authored
- Bring it up to the LLVM Coding Style - Sink it inside `CreateGCRelocates`, which is its only user llvm-svn: 250785
-
Sanjoy Das authored
`normalizeForInvokeSafepoint` in RewriteStatepointsForGC.cpp, as it is written today, deals with `gc.relocate` and `gc.result` uses of a statepoint equally well. This change documents this fact and adds a test case. There is no functional change here -- only documentation of existing functionality. llvm-svn: 250784
-
Sanjoy Das authored
llvm-svn: 250783
-
Siva Chandra authored
Reviewers: zturner, spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13882 llvm-svn: 250782
-
Duncan P. N. Exon Smith authored
llvm-svn: 250781
-
Sean Callanan authored
"expr -r" does this. It also returns to a REPL if the LLDB command interpreter is neseted inside it, for example in cases where a REPL command resulted in a breakpoint being hit or a crash. llvm-svn: 250780
-
Duncan P. N. Exon Smith authored
llvm-svn: 250779
-
Duncan P. N. Exon Smith authored
There are two things out of the ordinary in this commit. First, I made a loop obviously "infinite" in HexagonInstrInfo.cpp. After checking if an instruction was at the beginning of a basic block (in which case, `break`), the loop decremented and checked the iterator for `nullptr` as the loop condition. This has never been possible (the prev pointers are always been circular, so even with the weird ilist/iplist implementation, this isn't been possible), so I removed the condition. Second, in HexagonAsmPrinter.cpp there was another case of comparing a `MachineBasicBlock::instr_iterator` against `MachineBasicBlock::end()` (which returns `MachineBasicBlock::iterator`). While not incorrect, it's fragile. I switched this to `::instr_end()`. All that said, no functionality change intended here. llvm-svn: 250778
-
JF Bastien authored
llvm-svn: 250777
-
Duncan P. N. Exon Smith authored
llvm-svn: 250776
-
Davide Italiano authored
This matches what both ld.bfd and gold do. llvm-svn: 250775
-
Reid Kleckner authored
This reverts commit r250592. It has issues around unevaluated contexts, like this: template <class T> struct A { T i; }; template <class T> struct B : A<T> { using A<T>::i; typedef decltype(i) U; }; template struct B<int>; llvm-svn: 250774 -
Sean Callanan authored
This makes LLDB launch and create a REPL, specifying no target so that the REPL can create one for itself. Also added the "--repl-language" option, which specifies the language to use. Plumbed the relevant arguments and errors through the REPL creation mechanism. llvm-svn: 250773
-
Greg Clayton authored
Fixed PlatformDarwin to locate Xcode by using HostInfo::GetProgramFileSpec(). This function returns the FileSpec to the program that is running the LLDB.framework or lldb.so and is more reliable than checking the path of LLDB.framework/lldb.so itself since it might not exist within the Xcode.app bundle (DYLD_FRAMEWORK_PATH). Then we check DEVELOPER_DIR, then check the currently installed Xcode with xcrun. <rdar://problem/23167253> llvm-svn: 250772
-
Davide Italiano authored
llvm-svn: 250771
-
Greg Clayton authored
When calling FileSpec::AppendPathComponent() we don't need to include "." in the path if m_filename is set to exactly '.'. Previously this would cause a FileSpec object that looked like: m_directory = "/tmp" m_filename = "." To look like: m_directory = "/tmp/." m_filename = "foo.txt" if "foo.txt" was appended to it. With this fix it will be: m_directory = "/tmp" m_filename = "foo.txt" llvm-svn: 250770
-