- Nov 29, 2014
-
-
Kuba Brecka authored
Extending SuppressionContext to add a HasSuppressionType method that tells whether a certain suppression type is currently used or not. It's a step to implement issue suppressions for ASan, see http://reviews.llvm.org/D6280. Reviewed at http://reviews.llvm.org/D6443 llvm-svn: 222954
-
Jozef Kolek authored
This patch implements microMIPS 16-bit (MOVE16 $0, $0) and 32-bit (SLL $0, $0, 0) NOP aliases. http://reviews.llvm.org/D6440 llvm-svn: 222953
-
Jason Molenda authored
llvm-svn: 222952
-
Jason Molenda authored
for x86_64. i386, arm, arm64 aren't handled yet but those are minor variations on this format. This commit also adds code to read the symbol table out of the binary and read the LC_FUNCTION_STARTS to augment the symbol table with the start addresses of all the functions - and print the function names when showing the unwind info. llvm-svn: 222951
-
David Blaikie authored
Use deque<T> rather than vector<T*> since it provides the same invalidation semantics (at least when removal is not needed) without the extra indirection/ownership complexity Order matters for this container, it seems (using a forward_list and replacing the original push_backs with emplace_fronts caused test failures). I didn't look too deeply into why. (& in retrospect, I might go back & change some of the forward_lists I introduced to deques anyway - since most don't require removal, deque is a more memory-friendly data structure (moderate locality while not invalidating pointers)) llvm-svn: 222950
-
David Blaikie authored
Constify some things in preparation for CodeGenSubRegIndex to be stored by value in their container, removing the indirection llvm-svn: 222949
-
Craig Topper authored
llvm-svn: 222948
-
Craig Topper authored
Use unique_ptr to remove some explicit deletes on some error case returns. At least one spot of weird ownership passing that needs some future cleanup. llvm-svn: 222947
-
Duncan P. N. Exon Smith authored
llvm-svn: 222946
-
Duncan P. N. Exon Smith authored
llvm-svn: 222945
-
Saleem Abdulrasool authored
If built with -Wunused-variable, clang objects to the declarations due to the unused variable; drop the names. NFC. llvm-svn: 222944
-
Duncan P. N. Exon Smith authored
This reverts commit r222935 and its follow-up r222938 ("Push unique_ptr a bit further through some APIs and simplify some cleanup"), since it causes bot failures (at least on Darwin): http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental/1391/ llvm-svn: 222943 -
Matt Arsenault authored
This was trying to create an MVT with 3x vectors which created an invalid EVT llvm-svn: 222942
-
David Majnemer authored
We didn't consider types like ObjCSel as a substitution candidate. This fixes PR21688. llvm-svn: 222941
-
David Blaikie authored
Just avoid using std::map::emplace since it's not implemented in libstdc++ 4.7. Reapplies r222937, reverted in r222939. llvm-svn: 222940
-
David Blaikie authored
Seems libstdc++ on some buildbots is lacking std::map::emplace, which is weird... reverting while I look into it. This reverts commit r222937. llvm-svn: 222939
-
David Blaikie authored
llvm-svn: 222938
-
David Blaikie authored
Pointers and references to map elements are never invalidated (except on removal, which isn't used here) so there's no need for the indirection unless there's polymorphism at work. A little const correctness had to be fixed, since the indirection allowed some benign const violations. llvm-svn: 222937
-
Duncan P. N. Exon Smith authored
This reverts commit r222632 (and follow-up r222636), which caused a host of LNT failures on an internal bot. I'll respond to the commit on the list with a reproduction of one of the failures. Conflicts: lib/Target/X86/X86TargetTransformInfo.cpp llvm-svn: 222936
-
David Blaikie authored
llvm-svn: 222935
-
David Blaikie authored
llvm-svn: 222934
-
Richard Barton authored
Add neon-vfpv3 to allow specifying both at the same time. This is not an option that GCC supports, but follows the same track and should be non-controversial. Change-Id: Id9ec157c835937d7d11ad0f49dbe5171fac17658 llvm-svn: 222933
-
Richard Barton authored
This enables user to architecturally specify ARMv7A + VFPv4 + NEON. Change-Id: I779b01fef5c47e5e4ac702ae24ed2f76a0e4c63f llvm-svn: 222932
-
David Blaikie authored
Since the elements were not polymorphic, the unique_ptr was only used to avoid pointer invalidation on container resizes - might as well skip the indirection and use a container with suitable invalidation semantics. llvm-svn: 222931
-
Craig Topper authored
llvm-svn: 222930
-
Craig Topper authored
llvm-svn: 222929
-
David Majnemer authored
We may be in a situation where the icmps might not be near each other in a tree of or instructions. Try to dig out related compare instructions and see if they combine. N.B. This won't fire on deep trees of compares because rewritting the tree might end up creating a net increase of IR. We may have to resort to something more sophisticated if this is a real problem. llvm-svn: 222928
-
Bruno Cardoso Lopes authored
Loop simplify skips exit-block insertion when exits contain indirectbr instructions. This leads to an assertion in LICM when trying to sink stores out of non-dedicated loop exits containing indirectbr instructions. This patch fix this issue by re-checking for dedicated exits in LICM prior to store sink attempts. Differential Revision: http://reviews.llvm.org/D6414 rdar://problem/18943047 llvm-svn: 222927
-
Bruno Cardoso Lopes authored
Switch cases statements with sequential values that branch to the same destination BB may often be handled together in a single new source BB. In this scenario we need to remove remaining incoming values from PHI instructions in the destination BB, as to match the number of source branches. Differential Revision: http://reviews.llvm.org/D6415 rdar://problem/19040894 llvm-svn: 222926
-
Sanjay Patel authored
Allow unaligned 16-byte memop codegen for btver2. No functional changes for any other subtargets. Replace the existing supposed small memcpy test with an actual test of a small memcpy. The previous test wasn't using FileCheck either. This patch should allow us to close PR21541 ( http://llvm.org/bugs/show_bug.cgi?id=21541 ). Differential Revision: http://reviews.llvm.org/D6360 llvm-svn: 222925
-
Alexander Kornienko authored
llvm-svn: 222924
-
Rafael Espindola authored
The original patch would fail when: * A dst opaque type (%A) is matched with a src type (%A). * A src opaque (%E) type is then speculatively matched with %A and the speculation fails afterward. * When rolling back the speculation we would cancel the source %A to dest %A mapping. The fix is to keep an explicit list of which resolutions are speculative. Original message: Fix overly aggressive type merging. If we find out that two types are *not* isomorphic, we learn nothing about opaque sub types in both the source and destination. llvm-svn: 222923
-
Rafael Espindola authored
llvm-svn: 222922
-
- Nov 28, 2014
-
-
Rafael Espindola authored
llvm-svn: 222921
-
Charlie Turner authored
Patch by Matthew Wahab. Change-Id: Ia2a001ca2760028ea360fe77b56f203a219eefbc llvm-svn: 222920
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D6387 llvm-svn: 222919
-
Evgeniy Stepanov authored
MSan does not assign origin for instrumentation temps (i.e. the ones that do not come from the application code), but "select" instrumentation erroneously tried to use one of those. https://code.google.com/p/memory-sanitizer/issues/detail?id=78 llvm-svn: 222918
-
Charlie Turner authored
Add more tests to make sure the encoding/decoding of build attributes works correctly for all permissible values of build attributes. For cases where there are an infinite number of such values, a representative subset has been settled for. Change-Id: I2643c9624c211b2d56405306e16eec2d487bc5d6 llvm-svn: 222917
-
Ankur Garg authored
llvm-svn: 222916
-
Evgeniy Stepanov authored
This header is present in the r10c release of the NDK. llvm-svn: 222915
-