summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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
* Revert r249123 - [mips][microMIPS] Fix an issue with selecting sqrt ↵Daniel Sanders2015-10-062-15/+5
| | | | | | | | instruction in LLVM backend The author was not credited and most of the commit message is missing. Will re-commit with this fixed. llvm-svn: 249415
* test: Disable profitability heuristics to unfail LICM test caseTobias Grosser2015-10-061-9/+16
| | | | | | | | This test case was XFAILed under the assumption Polly is unable to detect the scop. However, disabling Polly's profitability heuristics is sufficient to detect this scop. llvm-svn: 249414
* [Tooling] Don't run a tool invocation without a FileManager.Benjamin Kramer2015-10-061-1/+3
| | | | | | Fixes a crash regression from r249410. llvm-svn: 249413
* Avoid recursive calls to init (we would crash).Rafael Espindola2015-10-062-7/+18
| | | | llvm-svn: 249412
* test: sdiv in loop bounds is supported since a whileTobias Grosser2015-10-061-9/+6
| | | | | | | By disabling our scop-profitability heuristics this becomes also visible in some older test cases. llvm-svn: 249411
* [Tooling] Reuse FileManager in ASTUnit.Benjamin Kramer2015-10-063-18/+14
| | | | | | | | ASTUnit was creating multiple FileManagers and throwing them away. Reuse the one from Tooling. No functionality change now but necessary for VFSifying tooling. llvm-svn: 249410
* [VFS] Put the incoming name in the file status to make InMemoryFS behave ↵Benjamin Kramer2015-10-062-1/+14
| | | | | | more like a real FS. llvm-svn: 249409
* [Tooling] Remove dead code.Benjamin Kramer2015-10-061-9/+1
| | | | | | | | | | It took me some time to figure out why this is not working as expected: std:error_code converts to true if there is an error. This means we never ever took the generated absolute path, which happens to be the right thing anyways as it properly works with virtual files. Just remove the whole thing, relative paths are covered by existing tooling tests. llvm-svn: 249408
* Rename a test case to avoid name conflictTamas Berghammer2015-10-061-0/+0
| | | | | | | | | Rename the python source file for DataFormatterOSTypeTestCase to match the purpose of the test and to avoid a name conflict with DataFormatterBoolRefPtr. The name conflict caused a race condition in the test runner what we have to address separately. llvm-svn: 249407
* Handle strong undefined symbols fetching members after a weak undefined.Rafael Espindola2015-10-068-42/+70
| | | | | | | | | | This is a case that requires --start-group --end-group with regular ELF linkers. Fortunately it is still possible to handle it with lazy symbols without taking a second look at archives. Thanks to Michael Spencer for the bug report. llvm-svn: 249406
* Fix virtual/override warnings in new MIPS code.Bruce Mitchener2015-10-061-17/+17
| | | | | | | | | | Reviewers: bhushan, tberghammer Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13462 llvm-svn: 249405
* Rearrange a bit for clarity. NFC.Rafael Espindola2015-10-061-7/+4
| | | | llvm-svn: 249404
* ToolingTests: Tweak getAnyTarget() to match "x86_64".NAKAMURA Takumi2015-10-061-3/+5
| | | | | | Both "x86" and "x86-64" are incompatible to triple's arch. llvm-svn: 249403
* Create interfaces and tests for the overlapping replacements fix in clang-tidy.Angel Garcia Gomez2015-10-064-9/+413
| | | | | | | | | | | | Summary: No changes in clang-tidy yet. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13469 llvm-svn: 249402
* tests: Drop outdated and unused lit variableTobias Grosser2015-10-061-2/+0
| | | | llvm-svn: 249401
OpenPOWER on IntegriCloud