- Feb 27, 2014
-
-
Richard Osborne authored
Summary: If a function returns a large struct by value return the first 4 words in registers and the rest on the stack in a location reserved by the caller. This is needed to support the xC language which supports functions returning an arbitrary number of return values. Reviewers: robertlytton Reviewed By: robertlytton CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2889 llvm-svn: 202397
-
Richard Osborne authored
No functionality change. llvm-svn: 202396
-
Richard Osborne authored
Summary: If the src, dst and size of a memcpy are known to be 4 byte aligned we can call __memcpy_4() instead of memcpy(). Reviewers: robertlytton Reviewed By: robertlytton CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2871 llvm-svn: 202395
-
Richard Osborne authored
These instructions ignore the high bits of one of their input operands - try and use this to simplify the code. llvm-svn: 202394
-
Richard Osborne authored
llvm-svn: 202393
-
Alexander Kornienko authored
Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2894 llvm-svn: 202392
-
Kostya Serebryany authored
llvm-svn: 202391
-
Kostya Serebryany authored
llvm-svn: 202390
-
Kostya Serebryany authored
[asan] *experimental* implementation of invalid-pointer-pair detector (finds when two unrelated pointers are compared or subtracted). This implementation has both false positives and false negatives and is not tuned for performance. A bug report for a proper implementation will follow. llvm-svn: 202389
-
Timur Iskhodzhanov authored
llvm-svn: 202380
-
Dmitry Vyukov authored
llvm-svn: 202379
-
Alexey Samsonov authored
llvm-svn: 202378
-
Alexey Samsonov authored
llvm-svn: 202377
-
Sylvestre Ledru authored
update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to match the clang update (r202346) on ASTContext llvm-svn: 202376
-
Chandler Carruth authored
toolchain of LLVM. These are already being enforced by the build system and have been discussed quite a few times on the lists, but documentation is important. =] Also, garbage collect the majority of the information about broken host GCC toolchains. These aren't really relevant any more as they're all older than the minimum requirement. I've left a few notes about compilers one step older than the current requirement as these compilers are at least conceivable to use, and it's better to preserve this kind of hard-won institutional knowledge. The next step will be some specific docs on how to set up a sufficiently modern host toolchain if your system doesn't come with one. But that'll be tomorrow. =] llvm-svn: 202375
-
Evgeniy Stepanov authored
llvm-svn: 202374
-
Chandler Carruth authored
bits of software and to use a modern GCC version. The Subversion bit was weird anyways -- it has nothing to do with compiling LLVM. Also, there are many other ways to get at the trunk source (git, git-svn, etc). The TeXinfo thing... I have no idea about. But you can get a working LLVM w/o it pretty easily. If man pages or something are missing, that hardly seems like a problem. If folks really want this back, let me know, but it seems mostly like a distraction. I'd still like to separate this into: - Required software to compile. - Optional software to compile. - Required software for certain *contributor* activities (like regenerating configure scripts). Also we need to mention that there are multiple options for build systems, and the differences. Also we should mention Windows. Also probably other stuff I'm forgetting. I'm wondering if this whole thing needs to be shot in the head and we should just start a new, simpler getting started that doesn't have so many years of accumulated stuff that is no longer relevant. llvm-svn: 202373
-
Chandler Carruth authored
llvm-svn: 202372
-
Chandler Carruth authored
actually looks like the table on the webpage and is entertainingly smaller, easier to read, and easier to edit. llvm-svn: 202371
-
Chandler Carruth authored
getting started guide. Some highlights: - I heard there was this Clang compiler that you could use for your host compiler. Not sure though. - We no longer have a GCC frontend with weird build restrictions. - Windows is doing a bit better than partially supported. - We nuked everything to do with itanium. - SPUs? Really? - Xcode 2.5 and gcc 4.0.1 are really not a concern -- they don't work. - OMG, we actually tried building LLVM on Alpha? Really? - PowerPC works pretty well these days. There is still a lot of stuff here I'm pretty dubious about, but I nuked most of what was actively misleading, out of date, or patently wrong. Some of it (mingw stuff especially) isn't really lacking, its just that the comments here were actively wrong. Hopefully folks that know those platforms can add back correct / modern information. llvm-svn: 202370
-
Daniel Sanders authored
Summary: Fixes an issue where a test attempts to use -mcpu=x86-64 on non-X86-64 targets. This triggers an assertion in the MIPS backend since it doesn't know what ABI to use by default for unrecognized processors. CC: llvm-commits, rafael Differential Revision: http://llvm-reviews.chandlerc.com/D2877 llvm-svn: 202369
-
Dmitry Vyukov authored
llvm-svn: 202368
-
Alexey Samsonov authored
With this change, one may set LLVM_BUILD_EXTERNAL_COMPILER_RT option to build compiler-rt libraries with just-built Clang. make compiler-rt in the build tree will build all compiler-rt libraries with just-built Clang and copy them to the proper location in the Clang resource directory. make check-compiler-rt will run the compiler-rt test suite using just-built Clang and runtime libraries. The goal is to make LLVM_BUILD_EXTERNAL_COMPILER_RT the default, so that we can always build compiler-rt libraries with Clang, not the host compiler, and for all the platforms Clang can target. llvm-svn: 202367
-
Dmitry Vyukov authored
llvm-svn: 202366
-
Dmitry Vyukov authored
we must go deeper! llvm-svn: 202365
-
Evgeniy Stepanov authored
Patch by Viktor Kutuzov. llvm-svn: 202364
-
Alexey Samsonov authored
llvm-svn: 202363
-
Evgeniy Stepanov authored
asan_device_setup is a utility that prepares a device to run code built with ASan. Essentially, it installs ASan runtime library into the system. For this reason, it has to be at a predictable relative path from the runtime library itself. We also plan to distribute this utility, packaged with runtime library and maybe llvm-symbolizer, to the users. llvm-svn: 202362
-
Dmitry Vyukov authored
llvm-svn: 202361
-
Alexey Bataev authored
llvm-svn: 202360
-
Evgeniy Stepanov authored
This is done mostly for consistency, because this setting is normally overridden in cmake. llvm-svn: 202359
-
Dmitry Vyukov authored
- allow to specify which test to run - allow to specify number of iterations - specify number of threads required in the test itself llvm-svn: 202358
-
Eric Christopher authored
any ranges - this includes CU ranges where we were previously emitting an end list marker even if we didn't have a list. Testcase includes a test for line table only code emission as the problem was noticed while writing this test. llvm-svn: 202357
-
Alexey Samsonov authored
llvm-svn: 202356
-
Alexey Samsonov authored
llvm-svn: 202355
-
Mark Seaborn authored
llvm-svn: 202354
-
Alexey Samsonov authored
llvm-svn: 202353
-
Ted Kremenek authored
[-Wunreachable-code] Don't warn about trivially unreachable return statements preceded by 'noreturn' functions. llvm-svn: 202352
-
Ted Kremenek authored
llvm-svn: 202351
-
Shankar Easwaran authored
This is to accomodate future changes for newer revisions of the DSP. No change in functionality. llvm-svn: 202350
-