- May 07, 2015
-
-
Pete Cooper authored
Found by Hal Finkel in the review of AttributeSets. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150504/275058.html llvm-svn: 236662
-
Duncan P. N. Exon Smith authored
Somehow I dropped this in r233585, and we haven't had `DEBUG_LOC_AGAIN` records since. Add it back. Also tests that the output assembly looks okay. Fixes PR23436. llvm-svn: 236661
-
Pete Cooper authored
We had code such as this: r2 = ... t2Bcc label1: ldr ... r2 label2; return r2<dead, def> The if converter was transforming this to r2<def> = ... return [pred] r2<dead,def> ldr <r2, kill> return which fails the machine verifier because the ldr now reads from a dead def. The fix here detects dead defs in stepForward and passes them back to the caller in the clobbers list. The caller then clears the dead flag from the def is the value is live. llvm-svn: 236660
-
Kostya Serebryany authored
llvm-svn: 236659
-
Quentin Colombet authored
demanded by the machine verifier. After shrinking a live-range to its uses, it is possible to create several smaller live-ranges. When this happens, shrinkToUses returns true and we need to split the different components into their own live-ranges. The problem does not reproduce on any in-tree target but Jonas Paulsson <jonas.paulsson@ericsson.com>, who reported the problem, checked that this patch fixes the issue. llvm-svn: 236658
-
Kostya Serebryany authored
Summary: Add api_list entries for the dfsan-based fuzzer Test Plan: covered by check-fuzzer Reviewers: pcc Reviewed By: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9538 llvm-svn: 236657
-
Kostya Serebryany authored
llvm-svn: 236656
-
Peter Collingbourne authored
llvm-svn: 236655
-
Zachary Turner authored
ole32 is considered a default library with MSVC, but apparently not with MinGW. Since we use CoInitialize, we need to explicitly link against it in LLVMSupport for a MinGW build. llvm-svn: 236654
-
Zachary Turner authored
Specifically, this patch correctly respects the -demangle option, and additionally adds a hidden --relative-address option allows input addresses to be relative to the module load address instead of absolute addresses into the image. llvm-svn: 236653
-
Kostya Serebryany authored
llvm-svn: 236652
-
Duncan P. N. Exon Smith authored
All callers should be passing `CXXConstructorDecl` or `CXXDestructorDecl` here, so use `cast<>` instead of `dyn_cast<>` when setting up the `GlobalDecl`. llvm-svn: 236651
-
Pete Cooper authored
If called twice in the same BB on the same constant, FastISel::fastEmit_ri_ was marking the materialized vreg as killed on each use, instead of only the last use. Change this to only mark the last use as killed by making earlier uses check if the vreg is already used elsewhere. llvm-svn: 236650
-
Jan Vesely authored
Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 236649
-
Jan Vesely authored
Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 236648
-
Jan Vesely authored
Ported from AMD builtin library, passes piglit on Turks. Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 236647
-
Enrico Granata authored
llvm-svn: 236646
-
Sergey Matveev authored
Contrary to my hopes, it didn't magically work on other platforms. llvm-svn: 236645
-
Pete Cooper authored
When folding a load in to another instruction, we need to fix the class of the index register Otherwise, it could be something like GR64 not GR64_NOSP and would fail the machine verifier. llvm-svn: 236644
-
Alexey Samsonov authored
llvm-svn: 236643
-
Duncan P. N. Exon Smith authored
Don't create names for temporary symbols when using an object streamer. The names never make it to the output anyway. From the starting point of r236629, my heap profile says this drops peak memory usage from 1100 MB to 1058 MB for CodeGen of `verify-uselistorder`, a savings of almost 4% on peak memory, and removes `StringMap<bool, BumpPtrAllocator...>` from the profile entirely. (I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`; see r236629 for details.) llvm-svn: 236642
-
Sergey Matveev authored
llvm-svn: 236641
-
Enrico Granata authored
This command dumps a bunch of interesting facts about all Objective-C classes known to LLDB in the inferior process llvm-svn: 236640
-
Tom Stellard authored
Signed-off-by:Aaron Watry <awatry@gmail.com> Tom Stellard: - Add denormal handling. - Share vectorization code with r600 implementation. Patch By: Aaron Watry llvm-svn: 236639
-
Tom Stellard authored
llvm-svn: 236638
-
Sergey Matveev authored
Example usage: sancov.py print a.out.1234.sancov | sancov.py missing a.out llvm-svn: 236637
-
Ed Maste authored
llvm-svn: 236636
-
Tim Northover authored
It's quite possible to encounter an insertvalue instruction that's more deeply nested than the value we're looking for, but when that happens we really mustn't compare beyond the end of the index array. Since I couldn't see any guarantees about what comparisons std::equal makes, we probably need to directly check the size beforehand. In practice, I suspect most std::equal implementations would probably bail early, which would be OK. But just in case... rdar://20834485 llvm-svn: 236635
-
Andrey Churbanov authored
llvm-svn: 236632
-
Andrey Churbanov authored
D9302.partial2: cleanup of ittnotify checks, that eliminats redundant notifications in case of nested regions. llvm-svn: 236631
-
Daniel Jasper authored
Before: { signals.set(0); } After: { signals.set(0); } llvm-svn: 236630 -
Duncan P. N. Exon Smith authored
Emit the number of bytes in a `.debug_loc` entry directly. The old code created temp labels (expensive), emitted the difference between them, and then emitted one on each side of the relevant bytes. (I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc` (the optimized version of ld64's `-save-temps` when linking the `verify-uselistorder` executable in an LTO bootstrap). I've hacked `MCContext::Allocate()` to just call `malloc()` instead of using the `BumpPtrAllocator` so that the heap profile is easier to read. As far as peak memory is concerned, `MCContext::Allocate()` is equivalent to a leak, since it only gets freed at process teardown. In my heap profile, this patch drops memory usage of `DwarfDebug::emitDebugLoc()` from 132.56 MB (11.4%) down to 29.86 MB (2.7%) at peak memory. Some of that must be noise from `SmallVector` (or other) allocations -- peak memory only dropped from 1160 MB down to 1100 MB -- but this nevertheless shaves 5% off the top.) llvm-svn: 236629
-
Evgeniy Stepanov authored
dl_iterate_phdr is somewhat broken in L (see the code for details). We add runtime OS version detection and fallback to /proc/maps on L or earlier. This fixes a number of ASan tests on L. llvm-svn: 236628
-
Ismail Pazarbasi authored
Summary: This helper function creates a ctor function, which calls sanitizer's init function with given arguments. This constructor is then expected to be added to module's ctors. The patch helps unifying how sanitizer constructor functions are created, and how init functions are called across all sanitizers. Reviewers: kcc, samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8777 llvm-svn: 236627
-
Reid Kleckner authored
llvm-svn: 236626
-
John Thompson authored
Changed option processing to implicitly use -x c++ if no other -x option specified. Added implicit -w option to disable compilation warnings, in particular to avoid warning on pragma once. llvm-svn: 236625
-
John Thompson authored
llvm-svn: 236624
-
Andrey Churbanov authored
llvm-svn: 236623
-
Sean Callanan authored
any type of symbol, which is okay since we are looking only in the Objective-C module. <rdar://problem/20828139> llvm-svn: 236622
-
Artem Belevich authored
Differential Revision: http://reviews.llvm.org/D9506 llvm-svn: 236621
-