- Jun 09, 2015
-
-
Alexei Starovoitov authored
llvm-svn: 239425
-
Pete Cooper authored
llvm-svn: 239424
-
Pete Cooper authored
Similarly to User which allocates a number of Use's prior to the this pointer, allocate space for the Name* for MCSymbol only when we need a name. Given that an MCSymbol is 48-bytes on 64-bit systems, this saves a decent % of space. Given the verify_uselistorder test case with debug info and llc, 50k symbols have names out of 700k so this optimises for the common case of temporary unnamed symbols. Reviewed by David Blaikie. llvm-svn: 239423
-
Arnold Schwaighofer authored
We don't know whether the weak functions definition is the definitive definition. rdar://21303727 llvm-svn: 239422
-
David Majnemer authored
GCC mangles long double like __float128 in order to support compatibility with ABI variants which had a different interpretation of long double. This fixes PR23791. llvm-svn: 239421
-
David Blaikie authored
This reverts commit r239380 due to apparently GDB regressions: http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/22562 llvm-svn: 239420
-
Chaoren Lin authored
Summary: `IsRelativeToCurrentWorkingDirectory` was misleading, because relative paths are sometimes appended to other directories, not just the cwd. Plus, the new name is shorter. Also added `IsAbsolute` for completeness. Reviewers: clayborg, ovyalov Reviewed By: ovyalov Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D10262 llvm-svn: 239419
-
Rui Ueyama authored
llvm-svn: 239418
-
Reid Kleckner authored
This reverts commit r239415. This was committed accidentally, LLVM isn't ready for this. llvm-svn: 239417
-
Reid Kleckner authored
llvm-svn: 239416
-
Reid Kleckner authored
This reverts r236167. LLVM should be ready for this now. llvm-svn: 239415
-
Chaoren Lin authored
Reviewers: vharron, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10340 llvm-svn: 239414
-
Rui Ueyama authored
llvm-svn: 239413
-
Samuel Antao authored
array of bytes. The generation of this byte arrays was expecting the host to be little endian, which prevents big endian hosts to be used in the generation of the PTX code. This patch fixes the problem by changing the way the bytes are extracted so that it works for either little and big endian. llvm-svn: 239412
-
Eli Bendersky authored
This represents some of the functionality we expose in the llvmlite Python binding. Patch by Antoine Pitrou Differential Revision: http://reviews.llvm.org/D10222 llvm-svn: 239411
-
Alexei Starovoitov authored
only cmake build change. autoconf build and docs will follow email thread: http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-June/thread.html#86523 llvm-svn: 239410
-
Rui Ueyama authored
make_error_code(object_error) is slow because object::object_category() uses a ManagedStatic variable. But the real problem is that the function is called too frequently. This patch uses std::error_code() instead of object_error::success. In most cases, we return "success", so this patch reduces number of function calls to that function. http://reviews.llvm.org/D10333 llvm-svn: 239409
-
Bill Seurer authored
This revision just fixes the formatting of altivec.h. llvm-svn: 239408
-
Jon Roelofs authored
Fixing the build-break introduced in r239406. llvm-svn: 239407
-
Jon Roelofs authored
Patch by Nick Sumner! llvm-svn: 239406
-
Toma Tabacu authored
Specified the llvm namespace for the 2 calls to make_unique() which caused compilation errors in Visual Studio 2013. llvm-svn: 239405
-
Daniel Jasper authored
llvm-svn: 239404
-
Elena Demikhovsky authored
Added encoding tests. llvm-svn: 239403
-
Benjamin Kramer authored
This may or may not help making this test less flaky on windows. There's a race condition in lit somewhere. llvm-svn: 239402
-
Benjamin Kramer authored
-Wreceiver-is-weak is unused but should be ignored, move it to the list of diagnostic groups. llvm-svn: 239401
-
Aaron Ballman authored
llvm-svn: 239400
-
Aaron Ballman authored
llvm-svn: 239399
-
Daniel Jasper authored
I have not succeeded in writing a proper test case for this yet and we also need to solve the underlying fundamental problem of trying too many combinations with nested blocks (basically this somewhat works around our Dijkstra algorithm). Preventing this linebreak is good anyways as usually the penalties never make us choose it (that's why I can't create a test) and it also looks ugly. Also cleaned up state comparison code that I discovered while hunting this down. llvm-svn: 239398
-
Toma Tabacu authored
It was breaking buildbots. llvm-svn: 239397
-
Toma Tabacu authored
Summary: For some branches, GAS accepts an immediate instead of the 2nd register operand. We only implement this for BNE and BEQ for now. Other branch instructions can be added later, if needed. Reviewers: dsanders Reviewed By: dsanders Subscribers: seanbruno, emaste, llvm-commits Differential Revision: http://reviews.llvm.org/D9666 llvm-svn: 239396
-
Daniel Sanders authored
Summary: NVPTX doesn't seem to support any additional constraints. Therefore remove the target hook. No functional change intended. Reviewers: jholewinski Reviewed By: jholewinski Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D8209 llvm-svn: 239395
-
Sagar Thakur authored
Use generic register numbers for argument registers, fp, ra and flag register in register info. llvm-svn: 239394
-
Greg Bedwell authored
This matches the cl.exe behavior (tested with 18.00.31101). In order to specify an output file for /P, use the /Fi option instead. Differential Revision: http://reviews.llvm.org/D10313 llvm-svn: 239393
-
Daniel Sanders authored
Summary: If malloc/realloc fails then the SmallVector becomes unusable since begin() and end() will return NULL. This is unlikely to occur but was the cause of recent bugpoint test failures on my machine. It is not clear whether not checking for malloc/realloc failure is a deliberate decision and adding checks has the potential to impact compiler performance. Therefore, this patch only adds the check to builds with assertions enabled for the moment. Reviewers: bkramer Reviewed By: bkramer Subscribers: bkramer, llvm-commits Differential Revision: http://reviews.llvm.org/D9520 llvm-svn: 239392
-
Denis Protivensky authored
llvm-svn: 239391
-
NAKAMURA Takumi authored
llvm/test/DebugInfo/X86/expressions.ll: %llc_dwarf shouldn't be used with -mtriple, since %llc_dwarf implies the triple. In this case, use plain "llc". llvm-svn: 239390
-
David Majnemer authored
llvm-svn: 239389
-
David Majnemer authored
The object file format is sometimes overridden for MSVC targets to use ELF instead of COFF. Make sure we preserve this choice when setting the msvc version number in the triple. llvm-svn: 239388
-
NAKAMURA Takumi authored
llvm-svn: 239387
-
Peter Collingbourne authored
The code generator may create references to runtime library symbols such as __chkstk which were not visible via LTOModule. Handle these cases by loading the object file from the library, but abort if we end up having loaded any bitcode objects. Because loading the object file may have introduced new undefined references, call reportRemainingUndefines again to detect and report them. Differential Revision: http://reviews.llvm.org/D10332 llvm-svn: 239386
-