- Jul 21, 2016
-
-
Sanjay Patel authored
Differential Revision: https://reviews.llvm.org/D22602 llvm-svn: 276209
-
Eric Fiselier authored
Increasingly the .fail.cpp tests are written using -verify, making them sensitive to the exact diagnostics generated by the compiler. To prevent additional diagnostics from being generated, and causing the tests to fail, this patch removes the warning flags when compiling those tests. llvm-svn: 276208
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D22593 llvm-svn: 276207
-
George Burgess IV authored
llvm-svn: 276205
-
Tim Northover authored
They were all auto-incremented from 0 anyway, and I'm getting really annoying conflicts and runtime failures when different people add more for GlobalISel (and even when I'm refactoring my own patches). NFC. llvm-svn: 276204
-
Kelvin Li authored
This patch is to implement sema and parsing for 'target simd' pragma. Differential Revision: https://reviews.llvm.org/D22479 llvm-svn: 276203
-
Xinliang David Li authored
llvm-svn: 276202
-
George Burgess IV authored
(Also, refactor our constexpr handling to be less insane). This patch lets us track field offsets in the CFL Graph, which is the first step to making CFLAA field/offset sensitive. Woohoo! Note that this patch shouldn't visibly change our behavior (since we make no use of the offsets we're now tracking), so we can't quite add tests for this yet. Patch by Jia Chen. Differential Revision: https://reviews.llvm.org/D22598 llvm-svn: 276201
-
Eric Fiselier authored
llvm-svn: 276200
-
Vedant Kumar authored
Differential Revision: https://reviews.llvm.org/D22544 llvm-svn: 276199
-
Xinliang David Li authored
llvm-svn: 276198
-
Xinliang David Li authored
Fix the test case that should not depend on dir iteration order. llvm-svn: 276197
-
Justin Lebar authored
Reviewers: tra Subscribers: jholewinski, arsenm, asbirlea Differential Revision: https://reviews.llvm.org/D22592 llvm-svn: 276196
-
Kostya Serebryany authored
llvm-svn: 276195
-
- Jul 20, 2016
-
-
Xinliang David Li authored
llvm-svn: 276194
-
Geoff Berry authored
llvm-svn: 276193
-
Adam Nemet authored
The earlier change added hotness attribute to missed-optimization remarks. This follows up with the analysis remarks (the ones explaining the reason for the missed optimization). llvm-svn: 276192
-
Adam Nemet authored
This helps because LoopAccessReport is passed around as a const reference and we derive the basic block passed as the Value parameter from the instruction in LoopAccessReport. llvm-svn: 276191
-
Adam Nemet authored
llvm-svn: 276190
-
Artem Belevich authored
After r276153 the pass applies to both kernels and regular functions. Differential Revision: https://reviews.llvm.org/D22583 llvm-svn: 276189
-
Richard Smith authored
llvm-svn: 276188
-
Etienne Bergeron authored
llvm-svn: 276187
-
Hans Wennborg authored
and also the follow-up "[xray] Only build xray on Linux for now" Two build errors were reported on the llvm-commits list: [ 88%] Building CXX object lib/xray/CMakeFiles/clang_rt.xray-x86_64.dir/xray_flags.cc.o /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/lib/xray/xray_init.cc:23:10: fatal error: 'llvm/Support/ELF.h' file not found #include "llvm/Support/ELF.h" ^ and In file included from /w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface.cc:16: /w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface_internal.h:36:8: error: no type named 'size_t' in namespace 'std' std::size_t Entries; ~~~~~^ llvm-svn: 276186
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D22560 llvm-svn: 276185
-
Tim Northover authored
This adds an (incomplete, inefficient) framework for deciding what to do with some operation on a given type. llvm-svn: 276184
-
Ahmed Bougacha authored
At -O0, cmpxchg survives AtomicExpand: it's mostly straightforward to select it in fast-isel, and let the pseudo be expanded later. extractvalues on the result are the tricky part: the generic logic only works for legal types (and it would be painful to make it support illegal types), so we can only support i32/i64 cmpxchg. llvm-svn: 276183
-
Ahmed Bougacha authored
llvm-svn: 276182
-
David Majnemer authored
We hoisted PHIs without respecting their special insertion point in the block, leading to verfier errors. This fixes PR28626. llvm-svn: 276181
-
John McCall authored
the copy-constructor immediately and enter a partial array cleanup for previously-copied elements. Fixes PR28595. llvm-svn: 276180
-
Etienne Bergeron authored
Summary: The printf is not working correctly on 64-bit MSVC. The portable way to print "size_t" is to use "%zx" (size_t in hexa). Reviewers: rnk Subscribers: kubabrecka, llvm-commits, wang0109, chrisha Differential Revision: https://reviews.llvm.org/D22588 llvm-svn: 276179
-
Kelvin Li authored
OpenMP 4.5 removed the restriction that array section lower bound must be non negative. This change is to allow negative values for array section based on pointers. For array section based on array type there is still a restriction: "The array section must be a subset of the original array." Patch by David S. Differential Revision: https://reviews.llvm.org/D22481 llvm-svn: 276177
-
Simon Atanasyan authored
llvm-svn: 276176
-
Rafael Espindola authored
We no longer need it for relocations in .eh_frame. The only relocations that point to .eh_frame are the ones trying to find the output .eh_frame. This actually fixes a bug in the symbol value code. It was not handling -1 as an indicator for a piece not being included in the output. llvm-svn: 276175
-
Davide Italiano authored
We can replace the return values with undef if we replaced all the call uses with a constant/undef. Differential Revision: https://reviews.llvm.org/D22336 llvm-svn: 276174
-
Simon Atanasyan authored
llvm-svn: 276173
-
Simon Atanasyan authored
LLD still does not produce a correct combination of MIPS ELF flags if input files have different sets of ELF flags (i.e. EF_MIPS_ARCH_32 and EF_MIPS_ARCH_32R2). But now we do not stick to "R2" ABI version and can emit EF_MIPS_ARCH_32R6 for example. llvm-svn: 276172
-
Justin Lebar authored
Summary: Previously we wouldn't move loads/stores across instructions that had side-effects, where that was defined as may-write or may-throw. But this is not sufficiently restrictive: Stores can't safely be moved across instructions that may load. This patch also adds a DEBUG check that all instructions in our chain are either loads or stores. Reviewers: asbirlea Subscribers: llvm-commits, jholewinski, arsenm, mzolotukhin Differential Revision: https://reviews.llvm.org/D22547 llvm-svn: 276171
-
Justin Lebar authored
Summary: Previously if we had a chain that contained a side-effecting instruction, we wouldn't vectorize it at all. Now we'll vectorize everything that comes before the side-effecting instruction. Reviewers: asbirlea Subscribers: arsenm, jholewinski, llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D22536 llvm-svn: 276170
-
George Burgess IV authored
A seemingly common use for the walker's getClobberingMemoryAccess function is: ``` MemoryAccess *getClobber(MemorySSAWalker *W, MemoryUseOrDef *MUD) { const Instruction *I = MUD->getMemoryInst(); return W->getClobberingMemoryAccess(I); } ``` Which is kind of redundant, since walkers will ultimately query MSSA to find out which MemoryAccess `I` maps to (...which is always `MUD`). So, this patch adds an overload of getClobberingMemoryAccess that accepts MemoryAccesses directly. As a result, the Instruction overload of getClobberingMemoryAccess becomes a lightweight wrapper around our new overload. Additionally, this patch un`virtual`izes the Instruction overload of getClobberingMemoryAccess, since there doesn't seem to be a walker that benefits from that being virtual, and I can't think of how else one would implement it. Happy to make it virtual again if we would benefit from doing so. llvm-svn: 276169
-
Rui Ueyama authored
Summary: Lists can be written either with "-" or "[]" in YAML. Differential Revision: https://reviews.llvm.org/D22579 llvm-svn: 276168
-