summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* self.path may be empty or otherwise miss the normal system directories,Joerg Sonnenberger2013-10-261-5/+1
| | | | | | | so try PATH next. Assume it is sane enough to cover the usual system bash locations too, but the old list is not good enough for NetBSD. llvm-svn: 193471
* [Sanitizer] Add pthread_attr_getaffinity_np to the list of versioned functionsAlexey Samsonov2013-10-261-1/+2
| | | | llvm-svn: 193470
* Remove unused diagnostic.Benjamin Kramer2013-10-261-2/+0
| | | | llvm-svn: 193469
* www: Add information about upcoming Loop Optimization BoFTobias Grosser2013-10-261-0/+8
| | | | llvm-svn: 193468
* www: Add information about isl-0.12.1 releaseTobias Grosser2013-10-261-7/+17
| | | | | | | | Polly can now be compiled without explicitly linking to GMP licensed code. This patch also contains some formatting improvements. llvm-svn: 193467
* www: Add information about code coverage and static analysisTobias Grosser2013-10-262-0/+11
| | | | llvm-svn: 193466
* lit: Issue a note when multiprocessing fails to loadAlp Toker2013-10-261-0/+1
| | | | | | | | | | If multiprocessing was requested, detected as available and subsequently failed to initialize it's worth letting the user know about it before falling back to threads. This condition can arise in certain OpenBSD / FreeBSD Python versions. llvm-svn: 193465
* Fix a referenced before assignment in r193463Alp Toker2013-10-261-0/+1
| | | | | | Some versions of Python on the builders seem strict about this. llvm-svn: 193464
* lit: handle late multiprocessing errors gracefullyAlp Toker2013-10-262-8/+11
| | | | | | | | This should be a better fix for lit multiprocessing failures, replacing the OpenBSD and FreeBSD workarounds in r193413 and r193457. Reference: http://bugs.python.org/issue3770 llvm-svn: 193463
* Sema: Emit a nicer diagnostic when IndirectFieldDecls show up ↵David Majnemer2013-10-262-3/+5
| | | | | | inappropriately in non-type template arguments llvm-svn: 193462
* Sema: Correctly build pointer-to-member arguments from a template argument ↵David Majnemer2013-10-262-1/+16
| | | | | | | | | | | | with an IndirectFieldDecl We only considered FieldDecl and CXXMethodDecl as appropriate which would cause us to believe the IndirectFieldDecl corresponded to an argument of it's field type instead of a pointer-to-member type. This fixes PR17696. llvm-svn: 193461
* Quick look-up for block in loop.Wan Xiaofei2013-10-265-66/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements quick look-up for block in loop by maintaining a hash set for blocks. It improves the efficiency of loop analysis a lot, the biggest improvement could be 5-6%(458.sjeng). Below are the compilation time for our benchmark in llc before & after the patch. Benchmark llc - trunk llc - patched 401.bzip2 0.339081 100.00% 0.329657 102.86% 403.gcc 19.853966 100.00% 19.605466 101.27% 429.mcf 0.049823 100.00% 0.048451 102.83% 433.milc 0.514898 100.00% 0.510217 100.92% 444.namd 1.109328 100.00% 1.103481 100.53% 445.gobmk 4.988028 100.00% 4.929114 101.20% 456.hmmer 0.843871 100.00% 0.825865 102.18% 458.sjeng 0.754238 100.00% 0.714095 105.62% 464.h264ref 2.9668 100.00% 2.90612 102.09% 471.omnetpp 4.556533 100.00% 4.511886 100.99% bitmnp01 0.038168 100.00% 0.0357 106.91% idctrn01 0.037745 100.00% 0.037332 101.11% libquake2 3.78689 100.00% 3.76209 100.66% libquake_ 2.251525 100.00% 2.234104 100.78% linpack 0.033159 100.00% 0.032788 101.13% matrix01 0.045319 100.00% 0.043497 104.19% nbench 0.333161 100.00% 0.329799 101.02% tblook01 0.017863 100.00% 0.017666 101.12% ttsprk01 0.054337 100.00% 0.053057 102.41% Reviewer : Andrew Trick <atrick@apple.com>, Hal Finkel <hfinkel@anl.gov> Approver : Andrew Trick <atrick@apple.com> Test : Pass make check-all & llvm test-suite llvm-svn: 193460
* llvm/test/lit.cfg: Tighten conditions to enable 'native'.NAKAMURA Takumi2013-10-261-1/+3
| | | | | | | I saw the case that 'native' was mis-enabled when x86_64-pc-win32 on x86_64-linux. FIXME: Consider cases that target can be executed even if host_triple were different from target_triple. llvm-svn: 193459
* llvm/test/Other/close-stderr.ll: Remove "XFAIL:win32". It reverts r173509.NAKAMURA Takumi2013-10-261-3/+0
| | | | | | "REQUIRES: shell" should cover if this failed. llvm-svn: 193458
* Attempt to fix the FreeBSD build, disable multiprocessingAlp Toker2013-10-261-1/+2
| | | | | | | | | | Speculative quick fix based on clang-X86_64-freebsd output: File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line 33, in <module> " function, see issue 3770.") ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. llvm-svn: 193457
* clang/test/CodeGenCXX/debug-info-namespace.cpp: Suppress this also on msys, ↵NAKAMURA Takumi2013-10-261-0/+1
| | | | | | | | for now since r193116. Clang confuses among dosish paths. In this case, "Input/foo.cpp" and "Input\foo.cpp" cannot be unified. llvm-svn: 193456
* [analyzer] Don't emit an "Assuming x is <OP> y" if it's not a comparison op.Jordan Rose2013-10-262-1/+501
| | | | | | | | | We could certainly be more precise in many of our diagnostics, but before we were printing "Assuming x is && y", which is just ridiculous. <rdar://problem/15167979> llvm-svn: 193455
* [PECOFF] Parse /merge command line option.Rui Ueyama2013-10-265-0/+91
| | | | | | | | /merge:<from>=<to> option makes the linker to combine "from" section to "to" section. This patch is to parse the option. The actual feature will be implemented in a subsequent patch. llvm-svn: 193454
* ObjectiveC arc. Warn when an implicitly 'strong' property Fariborz Jahanian2013-10-263-0/+31
| | | | | | | is redeclared as 'weak' in class extension. // rdar://15304886 llvm-svn: 193453
* Document that -fsanitize=function is Linux-only.Peter Collingbourne2013-10-261-1/+1
| | | | llvm-svn: 193452
* [ELF] Implement .{init,fini}_array ordering.Michael J. Spencer2013-10-2510-8/+133
| | | | llvm-svn: 193451
* <rdar://problem/15319880>Enrico Granata2013-10-253-0/+17
| | | | | | | | | | Introduce a new boolean setting enable-auto-oneliner This setting if set to false will force LLDB to not use the new compact one-line display By default, one-line mode stays on, at least until we can be confident it works. But now if it seriously impedes your workflow while it evolves/it works wonders but you still hate it, there's a way to turn it off llvm-svn: 193450
* Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info.Peter Collingbourne2013-10-257-2/+30
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1984 llvm-svn: 193449
* Overhaul the symbolizer interface.Peter Collingbourne2013-10-2521-104/+207
| | | | | | | | | | | | | | | | | | | | | | This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448
* Rename SpinMutex::AssertHeld to CheckLocked, for consistency with BlockingMutex.Peter Collingbourne2013-10-252-2/+2
| | | | llvm-svn: 193447
* [PECOFF] Fix use-after-return.Rui Ueyama2013-10-251-1/+1
| | | | llvm-svn: 193446
* [PECOFF] Fix XML output bug.Rui Ueyama2013-10-251-1/+1
| | | | | | | We really need a test for the manifest file output, but because it depends on external commands (CVTRES.EXE and RC.EXE), it's not very easy to write it. llvm-svn: 193445
* [PECOFF] Do not create a temporary std::string.Rui Ueyama2013-10-251-12/+10
| | | | llvm-svn: 193444
* Skip this test when using lit integrated shellAlp Toker2013-10-251-0/+3
| | | | | | | It wasn't passing on UNIX with LIT_USE_INTERNAL_SHELL=1 due to cat globbing. llvm-svn: 193443
* Make sure the string is NUL-terminated.Rui Ueyama2013-10-251-2/+2
| | | | | | | | The internal byte array of the SmallString filled by createTemporaryFile() is not guaranteed to be NUL-terminated. We need to call c_str() to handle it safely. llvm-svn: 193442
* Minor performance improvement to not do unnecessary workFariborz Jahanian2013-10-251-6/+8
| | | | | | in my last patch. // rdar://14989999 llvm-svn: 193441
* Fix spelling.Rui Ueyama2013-10-251-3/+3
| | | | llvm-svn: 193440
* ObjectiveC: under -Wunused-property-ivar warn if property'sFariborz Jahanian2013-10-2513-8/+132
| | | | | | | backing warning is not used in one of its accessor methods. // rdar://14989999 llvm-svn: 193439
* Fix SCEVExpander: don't try to expand quadratic recurrences outside a loop.Andrew Trick2013-10-255-15/+91
| | | | | | | | | | | | Partial fix for PR17459: wrong code at -O3 on x86_64-linux-gnu (affecting trunk and 3.3) When SCEV expands a recurrence outside of a loop it attempts to scale by the stride of the recurrence. Chained recurrences don't work that way. We could compute binomial coefficients, but would hve to guarantee that the chained AddRec's are in a perfectly reduced form. llvm-svn: 193438
* Fix LSR: don't normalize quadratic recurrences.Andrew Trick2013-10-252-11/+51
| | | | | | | | | | Partial fix for PR17459: wrong code at -O3 on x86_64-linux-gnu (affecting trunk and 3.3) ScalarEvolutionNormalization was attempting to normalize by adding and subtracting strides. Chained recurrences don't work that way. llvm-svn: 193437
* Handle calls and invokes in GlobalStatus.Rafael Espindola2013-10-252-0/+42
| | | | | | | | | | | This patch teaches GlobalStatus to analyze a call that uses the global value as a callee, not as an argument. With this change internalize call handle the common use of linkonce_odr functions. This reduces the number of linkonce_odr functions in a LTO build of clang (checked with the emit-llvm gold plugin option) from 1730 to 60. llvm-svn: 193436
* Put missing license header.Rui Ueyama2013-10-252-0/+18
| | | | llvm-svn: 193435
* LoopVectorizer: Don't attempt to vectorize extractelement instructionsHal Finkel2013-10-252-2/+38
| | | | | | | | | | | | | | | The loop vectorizer does not currently understand how to vectorize extractelement instructions. The existing check, which excluded all vector-valued instructions, did not catch extractelement instructions because it checked only the return value. As a result, vectorization would proceed, producing illegal instructions like this: %58 = extractelement <2 x i32> %15, i32 0 %59 = extractelement i32 %58, i32 0 where the second extractelement is illegal because its first operand is not a vector. llvm-svn: 193434
* clang-format.py: Make formatting unnamed buffers work again (broke in r190691).Nico Weber2013-10-251-3/+4
| | | | llvm-svn: 193433
* DIEHash: Summary hashing of member functionsDavid Blaikie2013-10-252-1/+19
| | | | llvm-svn: 193432
* Try to fix the build on windows.Rafael Espindola2013-10-251-2/+2
| | | | llvm-svn: 193431
* Don't check for -L options that gcc doesn't use.Rafael Espindola2013-10-251-2/+0
| | | | | | | GCC on fedora 18 ARM only uses 2 -L options. Clang prints two extra ones, but we should not include them in the test as they are not required. llvm-svn: 193430
* Change MemoryBuffer::getFile to take a Twine.Rafael Espindola2013-10-253-15/+15
| | | | llvm-svn: 193429
* I am about to change llvm::MemoryBuffer::getFile take take a Twine. ChangeRafael Espindola2013-10-253-3/+5
| | | | | | clang first so that the build still works. llvm-svn: 193428
* DIEHash: Summary hashing of nested typesDavid Blaikie2013-10-254-1/+73
| | | | llvm-svn: 193427
* Update the key/value documentation for the qHostInfo packet.Greg Clayton2013-10-251-3/+10
| | | | llvm-svn: 193426
* <rdar://problem/15263540>Greg Clayton2013-10-253-1/+44
| | | | | | | | Added a new key that we understand for the "qHostInfo" packet: "default_packet_timeout:T;" where T is a default packet timeout in seconds. This allows GDB servers with known slow packet response times to increase the default timeout to a value that makes sense for the connection. llvm-svn: 193425
* [PECOFF] Fix doublequote escaping.Rui Ueyama2013-10-251-4/+3
| | | | llvm-svn: 193424
* Just detect a distro as being fedora or not.Rafael Espindola2013-10-251-18/+4
| | | | | | | We don't have any checks that depend on the version of fedora, so we can simplify. llvm-svn: 193423
* [X86][AVX512] Add patterns that match the AVX512 floating point register ↵Quentin Colombet2013-10-252-0/+19
| | | | | | | | vbroadcast intrinsics. Patch by Cameron McInally <cameron.mcinally@nyu.edu> llvm-svn: 193422
OpenPOWER on IntegriCloud