- Jul 30, 2016
-
-
Argyrios Kyrtzidis authored
llvm-svn: 277261
-
Matt Arsenault authored
This should really be true for any immediate, not just inline ones. llvm-svn: 277260
-
Matt Arsenault authored
llvm-svn: 277259
-
Matt Arsenault authored
llvm-svn: 277258
-
Lang Hames authored
This makes it possible to implement re-optimization on top of the CompileOnDemandLayer. Test case to come in a future patch: This will need an execution test, and execution tests require a full working stack. The best option is to plumb this API up to the C Bindings stack and add a C bindings test for this. Patch by Sean Ogden. Thanks Sean! llvm-svn: 277257
-
Hans Wennborg authored
It seems the compiler was getting confused by the in-class initializers in local struct MapInfo, so moving those to a default constructor instead. llvm-svn: 277256
-
Rui Ueyama authored
llvm-svn: 277255
-
Hans Wennborg authored
the renaming from 'Msf' to 'MSF' in r277213. llvm-svn: 277254
-
Rui Ueyama authored
llvm-svn: 277253
-
Weiming Zhao authored
Summary: When performing cmp for EQ/NE and the operand is sign extended, we can avoid the truncaton if the bits to be tested are no less than origianl bits. Reviewers: eli.friedman Subscribers: eli.friedman, aemerson, nemanjai, t.p.northover, llvm-commits Differential Revision: https://reviews.llvm.org/D22933 llvm-svn: 277252
-
Lang Hames authored
This should fix UB warnings from the sanitizer bots: LLD performs bit manipulations on enums of this type, and these are UB if the underlying storage type isn't specified. llvm-svn: 277251
-
Chris Bieneman authored
Logging the dtrace command into the top of the dtrace log is useful when debugging why the order file generation is flaky. llvm-svn: 277234
-
Tim Northover authored
Easiest instruction ever! llvm-svn: 277225
-
Tim Northover authored
These come in two variants for now: G_INTRINSIC and G_INTRINSIC_W_SIDE_EFFECTS. We may decide to split the latter up with finer-grained restrictions later, if necessary. llvm-svn: 277224
-
Kevin Enderby authored
in r277177 and added back this test which was deleted in r277196 while I tracked down these problems. Changed from constructing Twine's to std::string's as Twine's don't work across statements. Also removed a few unneeded Twine() constructions. Fix the write_escaped() calls to not pass the unintended second argument fixing the warning on the ld-x86_64-win7 bot. llvm-svn: 277223
-
Davide Italiano authored
llvm-svn: 277222
-
Eric Christopher authored
Fixes PR28761. llvm-svn: 277221
-
Krzysztof Parzyszek authored
llvm-svn: 277220
-
Michael Kuperstein authored
Up until now, we only had code to match PSADBW patterns that look like what comes out of the loop vectorizer - a partial reduction inside the loop body that gets fed into a horizontal operation in a different basic block. This adds support for straight-line patterns, like those generated by the SLP vectorizer. Differential Revision: https://reviews.llvm.org/D22889 llvm-svn: 277219
-
Michael Kuperstein authored
llvm-svn: 277218
-
Aaron Ballman authored
llvm-svn: 277217
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D22974 llvm-svn: 277216
-
Ed Maste authored
llvm-svn: 277215
-
Simon Pilgrim authored
Support for lowering to VBROADCASTF128 etc. in D22460 was not correctly ensuring that the only users of the 128-bit vector load were the insertions of the vector into the lower/upper subvectors. llvm-svn: 277214
-
Zachary Turner authored
Previously this change was submitted from a Windows machine, so changes made to the case of filenames and directory names did not survive the commit, and as a result the CMake source file names and the on-disk file names did not match on case-sensitive file systems. I'm resubmitting this patch from a Linux system, which hopefully allows the case changes to make it through unfettered. llvm-svn: 277213
-
Paul Osmialowski authored
This patch enables balanced affinity on machines that do not have hardware threads and have cores clustered into packages. In facts, balacing algorithm could be generalized for any arrangement with at least two levels of hierarchy (depth > 1). Differential Revision: https://reviews.llvm.org/D22365 llvm-svn: 277212
-
Paul Robinson authored
I don't know why these changes work but they do. llvm-svn: 277211
-
Jason Henline authored
Summary: Error handling in StreamExecutor is based on llvm::Error and llvm::Expected. This CL sets up the StreamExecutor wrapper classes in the streamexecutor namespace. All the other StreamExecutor code makes use of this error handling code, so this is the first CL for checking in StreamExecutor. Reviewers: jlebar, tra Subscribers: parallel_libs-commits Differential Revision: https://reviews.llvm.org/D22687 llvm-svn: 277210
-
Tim Northover authored
This will be used during GlobalISel, where we need a more robust and readable way to write tests than a simple immediate ID. llvm-svn: 277209
-
Lang Hames authored
The MachO debug support code (committed in r276935) occasionally needs to allocate string copies, and was doing so by creating std::strings on a BumpPtrAllocator. The strings were untracked, so the destructors weren't being run and we were leaking the memory when the allocator was thrown away. Since it's easier than tracking the strings, this patch switches the copies to char buffers allocated directly in the bump-ptr allocator. llvm-svn: 277208
-
David Majnemer authored
The recent change implementing __final forgot to initialize a variable. This was caught by the Memory Sanitizer. Properly initialize the value to nullptr to ensure proper memory reads. Patch by Erich Keane! Differential Revision: https://reviews.llvm.org/D22970 llvm-svn: 277206
-
Reid Kleckner authored
llvm-svn: 277205
-
Eli Bendersky authored
llvm-svn: 277204
-
Adam Nemet authored
LoopUnroll is a loop pass, so the analysis of OptimizationRemarkEmitter is added to the common function analysis passes that loop passes depend on. The BFI and indirectly BPI used in this pass is computed lazily so no overhead should be observed unless -pass-remarks-with-hotness is used. This is how the patch affects the O3 pipeline: Dominator Tree Construction Natural Loop Information Canonicalize natural loops Loop-Closed SSA Form Pass Basic Alias Analysis (stateless AA impl) Function Alias Analysis Results Scalar Evolution Analysis + Lazy Branch Probability Analysis + Lazy Block Frequency Analysis + Optimization Remark Emitter Loop Pass Manager Rotate Loops Loop Invariant Code Motion Unswitch loops Simplify the CFG Dominator Tree Construction Basic Alias Analysis (stateless AA impl) Function Alias Analysis Results Combine redundant instructions Natural Loop Information Canonicalize natural loops Loop-Closed SSA Form Pass Scalar Evolution Analysis + Lazy Branch Probability Analysis + Lazy Block Frequency Analysis + Optimization Remark Emitter Loop Pass Manager Induction Variable Simplification Recognize loop idioms Delete dead loops Unroll loops ... llvm-svn: 277203 -
Rafael Espindola authored
llvm-svn: 277202
-
Ahmed Bougacha authored
It broke a shared builder: http://lab.llvm.org:8011/builders/llvm-mips-linux/builds/17320 llvm-svn: 277201
-
Saleem Abdulrasool authored
The previous change was insufficient to mark the content as read-write as the structure itself was marked constant. Adjust this and add tests to ensure that the section is marked appropriately as being read-write. llvm-svn: 277200
-
Simon Pilgrim authored
llvm-svn: 277199
-
Simon Pilgrim authored
llvm-svn: 277198
-
David Majnemer authored
We used the wrong type for constructing a zero vector element which led to type mismatches. This fixes PR28771. llvm-svn: 277197
-