summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Skip declarations in the case of functions.Michael Ilseman2014-12-091-0/+3
| | | | | | | | This is a revert of r223521 in spirit, if not in content. I am not sure why declarations ended up in LazilyLinkGlobalValues in the first place; that will take some more investigation. llvm-svn: 223763
* Use range-based for loops. NFC.Craig Topper2014-12-092-35/+24
| | | | llvm-svn: 223762
* AVX-512: Added some comments to ERI scalar intrinsics.Elena Demikhovsky2014-12-092-6/+17
| | | | | | No functional change. llvm-svn: 223761
* Fix a few instances found in SelectionDAG where we were not handling F16 at ↵Owen Anderson2014-12-092-3/+5
| | | | | | parity with F32 and F64. llvm-svn: 223760
* Revert "[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1."Duncan P. N. Exon Smith2014-12-0913-97/+28
| | | | | | | | | | | | | This reverts commit r223753. It broke the Green Dragon build for a few hours: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/2259/ http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/2259/consoleFull#43901905849ba4694-19c4-4d7e-bec5-911270d8a58c I suspect `clang-tools-extra` just needs a follow-up for an API change, but I'm not the right one to look into it. llvm-svn: 223759
* test commit (spelling correction)Mohit K. Bhakkad2014-12-091-1/+1
| | | | llvm-svn: 223758
* [X86] Convert esp-relative movs of function arguments into pushes, step 1Michael Kuperstein2014-12-098-13/+231
| | | | | | | | | | | This handles the simplest case for mov -> push conversion: 1. x86-32 calling convention, everything is passed through the stack. 2. There is no reserved call frame. 3. Only registers or immediates are pushed, no attempt to combine a mem-reg-mem sequence into a single PUSHmm. Differential Revision: http://reviews.llvm.org/D6503 llvm-svn: 223757
* Reland r223754David Majnemer2014-12-092-6/+13
| | | | | | | The commit is identical except a reference to `GV' should have been to `GVal'. llvm-svn: 223756
* Revert "AsmParser: Reject invalid mismatch between forward ref and def"David Majnemer2014-12-092-12/+5
| | | | | | This reverts commit r223754. I've upset the buildbots. llvm-svn: 223755
* AsmParser: Reject invalid mismatch between forward ref and defDavid Majnemer2014-12-092-5/+12
| | | | | | | | | Don't assume that the forward referenced entity was of the same global-kind as the new entity. This fixes PR21779. llvm-svn: 223754
* [modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.Richard Smith2014-12-0913-28/+97
| | | | | | | | | | | | | For files named by -fmodule-map-file=, and files found by 'extern module' directives, this flag specifies that we should resolve filenames relative to the current working directory rather than relative to the directory in which the module map file resides. This is aimed at fixing path handling, in particular for relative -I paths, when building modules that represent components of the current project (rather than libraries installed on the current system, which the current project has as dependencies, where we'd typically expect the module map files to be looked up implicitly). llvm-svn: 223753
* Implement remote process listing in Linux platform.Stephane Sezer2014-12-092-0/+23
| | | | | | | | | | | | | | Summary: Test Plan: Connect to a remote implementing the platform protocol (ds2 in this case), run `platform process list` and see processes being displayed. Reviewers: vharron, tfiala, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D6571 llvm-svn: 223752
* Restore r223709 as it was meant to be, and enable FeatureP8Vector for P8Bill Schmidt2014-12-091-2/+2
| | | | llvm-svn: 223751
* Handle newlines on Windows correctly.Nikola Smiljanic2014-12-095-1/+26
| | | | llvm-svn: 223750
* Add Linux support for HostInfo::GetOSBuildString and ↵Oleksiy Vyalov2014-12-093-2/+31
| | | | | | HostInfo::GetOSKernelDescription. llvm-svn: 223737
* MS ABI: Add another test for PR20017David Majnemer2014-12-091-0/+10
| | | | llvm-svn: 223733
* [tsan] remove TSAN_GO in favor of SANITIZER_GOKostya Serebryany2014-12-0918-94/+94
| | | | llvm-svn: 223732
* Simple test for file & line dummy breakpoints.Jim Ingham2014-12-093-0/+98
| | | | llvm-svn: 223731
* [asan] move GetRSS from tsan to sanitizer_commonKostya Serebryany2014-12-098-36/+37
| | | | llvm-svn: 223730
* Revert r223709, "[PowerPC]Activate FeatureVSX for the Power target", to ↵NAKAMURA Takumi2014-12-091-3/+5
| | | | | | | | | | | | | | | | | | | unbreak bots. CodeGen/PowerPC/vsx-p8.ll was failing. '+power8-vector' is not a recognized feature for this target (ignoring feature) llvm/test/CodeGen/PowerPC/vsx-p8.ll:33:14: error: expected string not found in input ; CHECK-REG: lxvw4x 34, 0, 3 ^ <stdin>:50:2: note: scanning from here .align 3 ^ <stdin>:61:2: note: possible intended match here lvx 3, 0, 3 ^ llvm-svn: 223729
* Optimize comparisons to empty string.Peter Collingbourne2014-12-091-0/+16
| | | | | | | | Geo-mean performance improvement of 0.2% (-0.3% - 0.9% @ 95% CI). Differential Revision: http://reviews.llvm.org/D6569 llvm-svn: 223728
* Handle early-clobber registers in the aggressive anti-dep breakerHal Finkel2014-12-092-0/+62
| | | | | | | | | | | | The aggressive anti-dep breaker, used by the PowerPC backend during post-RA scheduling (but is available to all targets), did not handle early-clobber MI operands (at all). When constructing the list of available registers for the replacement of some def operand, check the using instructions, and remove registers assigned to early-clobbered defs from the set. Fixes PR21452. llvm-svn: 223727
* DebugInfo: Correctly identify the location of C++ member initializer list ↵David Blaikie2014-12-095-40/+55
| | | | | | | | | | | | | elements This particularly helps the fidelity of ASan reports (which can occur even in these examples - if, for example, one uses placement new over a buffer of insufficient size - now ASan will correctly identify which member's initialization went over the end of the buffer). This doesn't cover all types of members - more coming. llvm-svn: 223726
* Add argument variable support to the debug info tutorialEric Christopher2014-12-091-9/+43
| | | | | | | and rearrange the prologue source location hack to immediately after it. llvm-svn: 223725
* [modules] If the same .pcm file is imported via two different paths, don'tRichard Smith2014-12-092-1/+52
| | | | | | complain that the contained modules are defined twice. llvm-svn: 223724
* Revert "Driver: Objective-C should respect -fno-exceptions"David Majnemer2014-12-094-22/+46
| | | | | | | | This reverts commit r223455. It's been succesfully argued that -fexceptions (at the driver level) is a misnomer and has little to do with -fobjc-exceptions. llvm-svn: 223723
* R600/SI: Set MayStore = 0 on MUBUF loadsTom Stellard2014-12-091-1/+1
| | | | llvm-svn: 223722
* R600/SI: Move setting of the lds bit to the base MUBUF classTom Stellard2014-12-091-6/+9
| | | | llvm-svn: 223721
* [Hexagon] Removing old def versions and replacing usages with versions that ↵Colin LeMahieu2014-12-085-182/+40
| | | | | | have encodings. llvm-svn: 223720
* MISched: Fix moving stores across barriersTom Stellard2014-12-082-6/+49
| | | | | | | | This fixes an issue with ScheduleDAGInstrs::buildSchedGraph where stores without an underlying object would not be added as a predecessor to the current BarrierChain. llvm-svn: 223717
* Update bogus file permissions.Alexey Samsonov2014-12-081-0/+0
| | | | | | Suggested in http://reviews.llvm.org/D6547. llvm-svn: 223715
* Add a test for MS-ABI this adjustment for virtual calls to member operators.Nico Weber2014-12-081-6/+45
| | | | | | | They too were fixed by r223185, despite the commit message saying otherwise. Add a test that makes sure they don't regress. llvm-svn: 223714
* Add the ability for an SBValue to create a persisted version of itself.Enrico Granata2014-12-0812-6/+192
| | | | | | | | | | | | Such a persisted version is equivalent to evaluating the value via the expression evaluator, and holding on to the $n result of the expression, except this API can be used on SBValues that do not obviously come from an expression (e.g. are the result of a memory lookup) Expose this via SBValue::Persist() in our public API layer, and ValueObject::Persist() in the lldb_private layer Includes testcase Fixes rdar://19136664 llvm-svn: 223711
* [Hexagon] Adding any8, all8, and/or/xor/andn/orn/not predicate register ↵Colin LeMahieu2014-12-083-0/+106
| | | | | | forms, mask, and vitpack instructions and patterns. llvm-svn: 223710
* [PowerPC]Activate FeatureVSX for the Power targetBill Seurer2014-12-081-5/+3
| | | | | | | | This change activates FeatureVSX for Power 7 and Power 8 in PPC.td. http://reviews.llvm.org/D6570 llvm-svn: 223709
* [PowerPC] Don't use a non-allocatable register to implement the 'cc' aliasHal Finkel2014-12-084-9/+349
| | | | | | | | | | | | | | | | GCC accepts 'cc' as an alias for 'cr0', and we need to do the same when processing inline asm constraints. This had previously been implemented using a non-allocatable register, named 'cc', that was listed as an alias of 'cr0', but the infrastructure does not seem to support this properly (neither the register allocator nor the scheduler properly accounts for the alias). Instead, we can just process this as a naming alias inside of the inline asm constraint-processing code, so we'll do that instead. There are two regression tests, one where the post-RA scheduler did the wrong thing with the non-allocatable alias, and one where the register allocator did the wrong thing. Fixes PR21742. llvm-svn: 223708
* Handle possible TypoExprs in member initializers.Kaelyn Takata2014-12-082-0/+12
| | | | | | | Includes a new test case since none of the existing tests were hitting this code path. llvm-svn: 223705
* [Hexagon] Fixing broken test.Colin LeMahieu2014-12-081-1/+1
| | | | llvm-svn: 223704
* [Hexagon] Adding xtype doubleword add, sub, and, or, xor and patterns.Colin LeMahieu2014-12-082-46/+60
| | | | llvm-svn: 223702
* [Hexagon] Adding xtype doubleword comparisons. Removing unused multiclass.Colin LeMahieu2014-12-083-32/+58
| | | | llvm-svn: 223701
* Fix platform shell test to run "dir c:\" instead of "ls /" on Windows.Zachary Turner2014-12-081-2/+4
| | | | llvm-svn: 223700
* DebugInfo: Ensure the store for an assignment is attributed to the beginning ↵David Blaikie2014-12-082-0/+28
| | | | | | of the assignment expression llvm-svn: 223699
* Fix some posix assumptions related to running shell commands.Zachary Turner2014-12-085-32/+58
| | | | | | | | | | | | | | | | | | | This is a resubmit of r223548, which was reverted due to breaking tests on Linux and Mac. This resubmit fixes the reason for the revert by adding back some accidentally removed code which appends -c to the command line when running /bin/sh. This resubmit also differs from the original patch in that it sets the architecture on the ProcessLaunchInfo. A follow-up patch will refactor this to separate the logic for different platforms. Differential Revision: http://reviews.llvm.org/D6553 Reviewed By: Greg Clayton llvm-svn: 223695
* clang-format: Indent correctly in conditional expressions after return.Daniel Jasper2014-12-082-1/+7
| | | | | | | | | | | | | | | | | | | This only applies when not aligning after the return itself (which is commonly done for C++. Before: return aaaaaaaaaa ? bbbbbbbbbb( bbbbbb) // This is indented relative to aaaaaaaaaa. : b; After: return aaaaaaaaaa ? bbbbbbbbbb( bbbbbb) : b; llvm-svn: 223694
* [Hexagon] Adding xtype parity, min, minu, max, maxu instructions.Colin LeMahieu2014-12-086-0/+122
| | | | llvm-svn: 223693
* [Hexagon] Adding xtype halfword add/sub ll/hl/lh/hh/sat/<<16 instructions.Colin LeMahieu2014-12-082-2/+152
| | | | llvm-svn: 223692
* Make myself the code owner for llgo.Peter Collingbourne2014-12-081-1/+1
| | | | llvm-svn: 223691
* Fix isInstantiated and isInTemplateInstantiation to not recreate the ↵Samuel Benzaquen2014-12-083-9/+35
| | | | | | | | | | | | | | | | | | matchers on each call. Summary: Store the result matcher after the first call and reuse it later on. Recreating the matchers just to use them once incurs in a lot of unnecessary temporary memory allocations. This change speeds up our clang-tidy benchmarks by ~2%. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D6564 llvm-svn: 223690
* Add .arcconfig file.Peter Collingbourne2014-12-081-0/+4
| | | | llvm-svn: 223689
* clang-format: [Java] Always break after annotations of multiline decls.Daniel Jasper2014-12-083-5/+10
| | | | | | | | | | | | | Before: @Mock DataLoader loooooooooooooooooooooooader = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; After: @Mock DataLoader loooooooooooooooooooooooader = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; llvm-svn: 223688
OpenPOWER on IntegriCloud