summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Minor refactoring. NFC.Chad Rosier2015-10-061-2/+4
| | | | llvm-svn: 249465
* [ARM] Minor refactoring. NFC.Chad Rosier2015-10-061-8/+10
| | | | llvm-svn: 249464
* [ARM] Minor refactoring. NFC.Chad Rosier2015-10-061-9/+8
| | | | llvm-svn: 249463
* [elf2] Correctly determine if we should ignore missing __tls_get_addr.Michael J. Spencer2015-10-063-9/+13
| | | | llvm-svn: 249462
* Updated issue 2476Marshall Clow2015-10-061-2/+2
| | | | llvm-svn: 249461
* [Function] Clean up {prefix,prologue} data routines (NFC)Vedant Kumar2015-10-062-40/+39
| | | | | | | | | | | Factor out some common code used to get+set function prefix/prologue data. This may come in handy if we ever decide to store personality functions in the same way we store prefix/prologue data. Differential Revision: http://reviews.llvm.org/D13120 Reviewed-by: bogner llvm-svn: 249460
* Add missing GoLanguageRuntime files.Ryan Brown2015-10-066-0/+467
| | | | llvm-svn: 249459
* Our test allocators support move/copy construction; they should support ↵Marshall Clow2015-10-061-1/+7
| | | | | | move/copy assignment as well llvm-svn: 249458
* [WinEH] Implement state numbering for CoreCLRJoseph Tremoulet2015-10-063-0/+103
| | | | | | | | | | | | | | | | Summary: Assign one state number per handler/funclet, tracking parent state, handler type, and catch type token. State numbers are arranged such that ancestors have lower state numbers than their descendants. Reviewers: majnemer, andrew.w.kaylor, rnk Subscribers: pgavlin, AndyAyers, llvm-commits Differential Revision: http://reviews.llvm.org/D13450 llvm-svn: 249457
* Create GoLanguageRuntime.Ryan Brown2015-10-065-0/+21
| | | | | | GoLanguageRuntime supports finding the runtime type for Go interfaces. llvm-svn: 249456
* [WinEH] Recognize CoreCLR personality functionJoseph Tremoulet2015-10-0611-26/+31
| | | | | | | | | | | | | | | Summary: - Add CoreCLR to if/else ladders and switches as appropriate. - Rename isMSVCEHPersonality to isFuncletEHPersonality to better reflect what it captures. Reviewers: majnemer, andrew.w.kaylor, rnk Subscribers: pgavlin, AndyAyers, llvm-commits Differential Revision: http://reviews.llvm.org/D13449 llvm-svn: 249455
* [ARM] Minor refactoring to improve readability. NFC.Chad Rosier2015-10-061-13/+14
| | | | llvm-svn: 249454
* Extend known bits to understand @llvm.bswapPhilip Reames2015-10-063-0/+94
| | | | | | | | | | This is a cleaned up patch from the one written by John Regehr based on the findings of the Souper superoptimizer. When writing tests, I was surprised to find that instsimplify apparently doesn't know how to collapse bit test sequences based purely on known bits. This required me to split my tests across both instsimplify and instcombine. Differential Revision: http://reviews.llvm.org/D13250 llvm-svn: 249453
* Remove GetShortPluginName.Bruce Mitchener2015-10-065-28/+0
| | | | | | | | | | | | Summary: This was deprecated and removed. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13463 llvm-svn: 249452
* [ELF2] Address r249428 post comit review. Style + test trim.Davide Italiano2015-10-062-4/+1
| | | | llvm-svn: 249451
* [elf2] Fix style.Michael J. Spencer2015-10-061-7/+7
| | | | llvm-svn: 249450
* ELF2: Inline small functions.Rui Ueyama2015-10-061-49/+23
| | | | llvm-svn: 249449
* Bungled my last change in a tweak.Todd Fiala2015-10-061-2/+1
| | | | | | | I took out a skip_test check that wasn't necessary, but didn't fully yank it out. Would break a normal go install. llvm-svn: 249448
* ELF2: Update README.Rui Ueyama2015-10-061-3/+3
| | | | llvm-svn: 249447
* Address failing Go tests on go version from Ubuntu 14.04Todd Fiala2015-10-061-1/+23
| | | | | | | | | Go tests fail on Ubuntu 14.04's go1.2.1. This change puts a minimum go version in the skipUnlessGoInstalled() decorator of go1.3.0. Go maintainers are encouraged to modify as needed. For now this fixes failing tests on Ubuntu 14.04 x86_64 buildbots with stock distro go installed. llvm-svn: 249446
* integer: remove explicit casts from _MIN definitionsAaron Watry2015-10-061-3/+3
| | | | | | | | | | | | | | | The spec says (section 6.12.3, CL version 1.2): The macro names given in the following list must use the values specified. The values shall all be constant expressions suitable for use in #if preprocessing directives. This commit addresses the second part of that statement. Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <tom@stellard.net> CC: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk> CC: Serge Martin <edb+libclc@sigluy.net> llvm-svn: 249445
* Change the write modes to "binary" so that line endings do not get munged on ↵Aaron Ballman2015-10-061-7/+7
| | | | | | Windows. Otherwise, when this script is run, all files created on Windows have CRLF instead of LF line endings. llvm-svn: 249444
* [ELF2/AArch64] Function names should start with a verb (lower case).Davide Italiano2015-10-061-5/+5
| | | | | | Pointed out by: Rafael Espindola. llvm-svn: 249443
* Fix pr25040 - Handle vectors of i1s in recently added implication codePhilip Reames2015-10-062-4/+27
| | | | | | | | As mentioned in the bug, I'd missed the presence of a getScalarType in the caller of the new implies method. As a result, when we ended up with a implication over two vectors, we'd trip an assert and crash. Differential Revision: http://reviews.llvm.org/D13441 llvm-svn: 249442
* ELF2: Use shorter names before this file grows larger.Rui Ueyama2015-10-061-41/+39
| | | | llvm-svn: 249441
* Revert r249437Ehsan Akhgari2015-10-063-12/+1
| | | | llvm-svn: 249440
* IR: Use typedefs for getSublistAccess(), NFCDuncan P. N. Exon Smith2015-10-062-3/+3
| | | | llvm-svn: 249439
* [Hexagon] Remove ZeroOrMore from option flagsKrzysztof Parzyszek2015-10-061-4/+3
| | | | llvm-svn: 249438
* Make clang_Cursor_getMangling don't mangle if the declaration isn't mangledEhsan Akhgari2015-10-063-1/+12
| | | | | | | | | | | | Right now clang_Cursor_getMangling will attempt to mangle any declaration, even if the declaration isn't mangled (extern "C"). This results in a partially mangled name which isn't useful for much. This patch makes clang_Cursor_getMangling return an empty string if the declaration isn't mangled. Patch by Michael Wu <mwu@mozilla.com>. llvm-svn: 249437
* ELF2: or{16,32,64}le should really do bitwise-OR.Rui Ueyama2015-10-061-3/+3
| | | | llvm-svn: 249436
* ELF2: Define or{16,32,64}le that are analogous to add32le.Rui Ueyama2015-10-061-4/+7
| | | | llvm-svn: 249435
* Fix Darwin build of lldb-server.Stephane Sezer2015-10-062-7/+11
| | | | | | | | | | | | Summary: We were missing the symbol for the version number. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13271 llvm-svn: 249434
* Create a logging category that is specific to data formatters activityEnrico Granata2015-10-066-12/+16
| | | | llvm-svn: 249433
* [ARM] Simplify tests and make checks more rigid. NFC.Chad Rosier2015-10-061-67/+36
| | | | llvm-svn: 249432
* This patch builds on top of D13378 to handle constant condition.Mehdi Amini2015-10-062-0/+56
| | | | | | | | | | | | | | | | | | | | With this patch, clang -O3 optimizes correctly providing > 1000x speedup on this artificial benchmark): for (a=0; a<n; a++) for (b=0; b<n; b++) for (c=0; c<n; c++) for (d=0; d<n; d++) for (e=0; e<n; e++) for (f=0; f<n; f++) x++; From test-suite/SingleSource/Benchmarks/Shootout/nestedloop.c Reviewers: sanjoyd Differential Revision: http://reviews.llvm.org/D13390 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 249431
* Attempting to appease the CMake build bots after r249429.Aaron Ballman2015-10-061-0/+1
| | | | llvm-svn: 249430
* Improved the misc-move-constructor-init check to identify arguments that are ↵Aaron Ballman2015-10-0612-92/+368
| | | | | | | | passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit. Patch by Felix Berger! llvm-svn: 249429
* [ELF2] Implement --{enable, disable}-new-dtags options.Davide Italiano2015-10-065-3/+38
| | | | llvm-svn: 249428
* IslAst: Give some hints why code generation might have been skippedTobias Grosser2015-10-061-0/+5
| | | | llvm-svn: 249427
* Introduce -polly-process-unprofitableTobias Grosser2015-10-0617-35/+31
| | | | | | | | | | This single option replaces -polly-detect-unprofitable and -polly-no-early-exit and is supposed to be the only option that disables compile-time heuristics that aim to bail out early on scops that are believed to not benefit from Polly optimizations. Suggested-by: Johannes Doerfert llvm-svn: 249426
* Convert expectedFlakeyDarwin to expectedFlakeyDsym for ↵Todd Fiala2015-10-061-1/+1
| | | | | | | | | TestCallUserDefinedFunction.py Closes: https://llvm.org/bugs/show_bug.cgi?id=25076 llvm-svn: 249425
* AMDGPU/SI: Add 64-bit versions of v_nop and v_clrexcpTom Stellard2015-10-068-25/+106
| | | | | | | | | | | | | | Summary: The assembly printing of these is still missing the encoding size suffix, but this will be fixed in a later commit. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D13436 llvm-svn: 249424
* [Hexagon] Add an early if-conversion passKrzysztof Parzyszek2015-10-069-18/+1711
| | | | llvm-svn: 249423
* tests: Drop -polly-detect-unprofitable and -polly-no-early-exitTobias Grosser2015-10-06471-609/+609
| | | | | | | | These flags are now always passed to all tests and need to be disabled if not needed. Disabling these flags, rather than passing them to almost all tests, significantly simplfies our RUN: lines. llvm-svn: 249422
* Reduce load on TestMultipleDebuggers.Todd Fiala2015-10-061-1/+1
| | | | | | | | | 4-core CPUs have a hard time keeping up with the number of debuggers we were simultaneously spawning. This leads to a timeout, which leaves processes hanging around in "suspended mode", which can't be killed with signals. llvm-svn: 249421
* test: By default disable Polly's compile-time profitability heuristicsTobias Grosser2015-10-061-2/+8
| | | | llvm-svn: 249420
* Switching TestCallUserDefinedFunction from xfail to flaky on OS X.Todd Fiala2015-10-061-1/+1
| | | | | | | This is passing 50/50 times for me. Moving to flaky as precautionary measure. llvm-svn: 249419
* tests: Explicitly state if profitability tests should be usedTobias Grosser2015-10-0612-20/+65
| | | | | | | | | | | | Polly's profitability heuristic saves compile time by skipping trivial scops or scops were we know no good optimization can be applied. For almost all our tests this heuristic makes little sense as we aim for minimal test cases when testing functionality. Hence, in almost all cases this heuristic is better be disabled. In preparation of disabling Polly's compile time heuristic by default in the test suite we first explicitly enable it in the couple of test cases that really use it (or run with/without heuristic side-by-side). llvm-svn: 249418
* Never fetch members for weak undefined symbols.Rafael Espindola2015-10-062-1/+10
| | | | | | | | | We were still fetching them when the archive was seen first. We should experiment with just letting lazy symbols get to compare, it might be cleaner for ELF. llvm-svn: 249417
* [mips][microMIPS] Fix an issue with selecting sqrt instruction in LLVM backendDaniel Sanders2015-10-062-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This fixes 7 tests during fast LLVM test-suite run: * MultiSource/Benchmarks/McCat/18-imp/imp * MultiSource/Applications/oggenc/oggenc * MultiSource/Benchmarks/MallocBench/gs/gs * MultiSource/Benchmarks/MiBench/automotive-susan/automotive-susan * MultiSource/Benchmarks/VersaBench/beamformer/beamformer * MultiSource/Benchmarks/MiBench/consumer-lame/consumer-lame * MultiSource/Benchmarks/Bullet/bullet Error message was in the form of: fatal error: error in backend: Cannot select: 0x95c3288: f32 = fsqrt 0x95c0190 [ORD=9] [ID=18] 0x95c0190: f32 = fadd 0x95bef30, 0x95c4d00 [ORD=8] [ID=17] 0x95bef30: f32 = fmul 0x95c4988, 0x95c4988 [ORD=5] [ID=16] ... There was problem with selecting sqrt instruction in LLVM backend. To fix the issue changes are made in TableGen definition for sqrt instruction in MipsInstrFPU.td and new test file sqrt.ll is added to LLVM regression tests. Patch by Zlatko Buljan Reviewers: zoran.jovanovic, hvarga, dsanders Subscribers: llvm-commits, petarj Differential Revision: http://reviews.llvm.org/D13235 llvm-svn: 249416
OpenPOWER on IntegriCloud