- May 02, 2016
-
-
Chad Rosier authored
llvm-svn: 268280
-
Chad Rosier authored
llvm-svn: 268279
-
Rui Ueyama authored
llvm-svn: 268278
-
Zachary Turner authored
llvm-svn: 268277
-
Tim Northover authored
We were negating an immediate that was going to be used in a SUBri form unnecessarily. Since ADD/SUB are very similar we *can* do that, but we have to change the SUB to an ADD at the same time. This also applies to ADD, and allows us to handle a slightly larger range of immediates for those two operations. rdar://25992245 llvm-svn: 268276
-
Rui Ueyama authored
llvm-svn: 268275
-
Enrico Granata authored
Add an argument to ValueObject::GetSyntheticBase that allows for name customization on the generated value llvm-svn: 268274
-
Rui Ueyama authored
--export-dynamic-symbol doesn't take path. llvm-svn: 268273
-
Justin Holewinski authored
Summary: We don't have sign-/zero-extending ldg/ldu instructions defined, so we need to emulate them with explicit CVTs. We were originally handling the i8 case, but not any other cases. Fixes PR26185 Reviewers: jingyue, jlebar Subscribers: jholewinski Differential Revision: http://reviews.llvm.org/D19615 llvm-svn: 268272
-
Reid Kleckner authored
llvm-svn: 268271
-
Zachary Turner authored
llvm-svn: 268270
-
George Burgess IV authored
As shown in the diff, we used to add to CFLAA's cache by doing `Cache[Fn] = buildSetsFrom(Fn)`. `buildSetsFrom(Fn)` may cause `Cache` to reallocate its underlying storage, if this happens and `Cache[Fn]` was evaluated prior to `buildSetsFrom(Fn)`, then we'll store the result to a bad address. Patch by Jia Chen. llvm-svn: 268269
-
Zachary Turner authored
PDB has a lot of similar data structures. We already have code for parsing a Name Map, but PDB seems to have a different but very similar structure that is a hash table. This is the beginning of code needed in order to parse the name hash table, but it is not yet complete. It parses the basic metadata of the hash table, the bucket array, and the names buffer, but doesn't use any of these fields yet as the data structure requires a non-trivial amount of work to understand. llvm-svn: 268268
-
Tom Stellard authored
Reviewers: arsenm Subscribers: jvesely, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D19736 llvm-svn: 268267
-
Mehdi Amini authored
When running cc1 with -flto=thin, it is followed by GlobalOpt, which requires the callgraph. This saves rebuilding one. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268266
-
Tom Stellard authored
We can't use MI->getDebugLoc() when MI is an iterator that could be MBB.end(). llvm-svn: 268265
-
Etienne Bergeron authored
Summary: The goal of the patch is to bring checkers in their appropriate namespace. This path doesn't change any behavior. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19811 llvm-svn: 268264
-
Enrico Granata authored
I forgot to check in the test case for the changes I made to synthetic children yesterday. Do so now llvm-svn: 268263
-
Eugene Zelenko authored
Differential revision: http://reviews.llvm.org/D19755 llvm-svn: 268262
-
Reid Kleckner authored
Before this change, we would pass all non-HFA record arguments on Windows with byval. Byval often blocks optimizations and results in bad code generation. Windows now uses the existing workaround that other x86_32 platforms use. I also expanded the workaround to handle C++ records with constructors on Windows. On non-Windows platforms, we have to keep generating the same LLVM IR prototypes if we want our bitcode to be ABI compatible. Otherwise we will encounter mismatch issues like PR21573. Essentially fixes PR27522 in Clang instead of LLVM. Reviewers: hans Differential Revision: http://reviews.llvm.org/D19756 llvm-svn: 268261
-
Tom Stellard authored
Summary: Add support for detecting hazards in SMEM soft clauses, so that we only break the clauses when necessary, either by adding s_nop or re-ordering other alu instructions. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18870 llvm-svn: 268260
-
Nicolai Haehnle authored
Summary: This intrinsic is used to get flat-shaded fragment shader inputs. Those are uniform across a primitive, but a fragment shader wave may process pixels from multiple primitives (as indicated by the prim_mask), and so that's where divergence can arise. Reviewers: arsenm, tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D19747 llvm-svn: 268259
-
Rui Ueyama authored
llvm-svn: 268258
-
NAKAMURA Takumi authored
ScheduleDAGInstrs.cpp: Don't peel the iterator when it points the end. This will fix the crash in r268143. llvm-svn: 268257
-
Derek Schuff authored
This follows the recent change in the wasm spec. llvm-svn: 268256
-
Derek Schuff authored
This follows the recent renaming in the wasm spec. llvm-svn: 268255
-
Hans Wennborg authored
[SimplifyCFG] Extend TryToSimplifyUncondBranchFromEmptyBlock for empty block including lifetime intrinsics Make it possible that TryToSimplifyUncondBranchFromEmptyBlock merges empty basic block including lifetime intrinsics as well as phi nodes and unconditional branch into its successor or predecessor(s). If successor of empty block has single predecessor, all contents including lifetime intrinsics are sinked into the successor. Otherwise, they are hoisted into its predecessor(s) and then merged into the predecessor(s). Patch by Josh Yoon <josh.yoon@samsung.com>! Differential Revision: http://reviews.llvm.org/D19257 llvm-svn: 268254
-
Piotr Padlewski authored
Because modernize-make-shared do almost the same job as modernize-make-unique, I refactored common code to MakeSmartPtrCheck. http://reviews.llvm.org/D19183 llvm-svn: 268253
-
Mehdi Amini authored
This is where it was originally, until LoopVersioningLICM was inserted before in r259986, I don't believe it was on purpose. Differential Revision: http://reviews.llvm.org/D19809 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268252
-
Adam Nemet authored
This was meant to check unit stride for both the load and the store. Thanks to Roman Shirokiy for noticing this. llvm-svn: 268251
-
Pete Cooper authored
This adds llvm-pdbdump to the list of tools which get printed with the full path in verbose mode. This makes it easier to take the whole run line from verbose output and run it again without prepending with the builds bin directory. llvm-svn: 268250
-
Simon Pilgrim authored
llvm-svn: 268249
-
Chad Rosier authored
llvm-svn: 268248
-
Tom Stellard authored
Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18603 llvm-svn: 268247
-
Sanjay Patel authored
llvm-svn: 268246
-
Sanjay Patel authored
llvm-svn: 268245
-
Sanjay Patel authored
llvm-svn: 268244
-
Kuba Brecka authored
This happens on a 64-bit platform that uses SizeClassAllocator32 (e.g. ASan on AArch64). When querying a large invalid pointer, `__sanitizer_get_allocated_size(0xdeadbeefdeadbeef)`, an assertion will fail. This patch changes PointerIsMine to return false if the pointer is outside of [kSpaceBeg, kSpaceBeg + kSpaceSize). Differential Revision: http://reviews.llvm.org/D15008 llvm-svn: 268243
-
Sanjay Patel authored
llvm-svn: 268242
-
Sanjay Patel authored
llvm-svn: 268241
-