- Jun 10, 2015
-
-
Alexey Samsonov authored
Test Plan: regression test suite Reviewers: eugenis, dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10343 llvm-svn: 239438
-
Peter Collingbourne authored
This ensures that LTO clients see the correct external symbol name. Differential Revision: http://reviews.llvm.org/D10318 llvm-svn: 239437
-
- Jun 09, 2015
-
-
Peter Collingbourne authored
Differential Revision: http://reviews.llvm.org/D10347 llvm-svn: 239436
-
Jingyue Wu authored
Summary: We used to assume V->RAUW only modifies the operand list of V's user. However, if V and V's user are Constants, RAUW may replace and invalidate V's user entirely. This patch fixes the above issue by letting the caller replace the operand instead of calling RAUW on Constants. Test Plan: @nested_const_expr and @rauw in access-non-generic.ll Reviewers: broune, jholewinski Reviewed By: broune, jholewinski Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D10345 llvm-svn: 239435
-
Peter Collingbourne authored
llvm-lib is intended to be a lib.exe compatible utility that also understands bitcode. The implementation lives in a library so that lld can use it to implement /lib. Differential Revision: http://reviews.llvm.org/D10297 llvm-svn: 239434
-
Reid Kleckner authored
This gets all the handler info through to the asm printer and we can look at the .xdata tables now. I've convinced one small catch-all test case to work, but other than that, it would be a stretch to say this is functional. The state numbering algorithm avoids doing any scope reconstruction as we do for C++ to simplify the implementation. llvm-svn: 239433
-
Chad Rosier authored
Store instructions do not modify register values and therefore it's safe to form a store pair even if the source register has been read in between the two store instructions. Previously, the read of w1 (see below) prevented the formation of a stp. str w0, [x2] ldr w8, [x2, #8] add w0, w8, w1 str w1, [x2, #4] ret We now generate the following code. stp w0, w1, [x2] ldr w8, [x2, #8] add w0, w8, w1 ret All correctness tests with -Ofast on A57 with Spec200x and EEMBC pass. Performance results for SPEC2K were within noise. llvm-svn: 239432
-
Pete Cooper authored
This is better than runtime asserts. Thanks to David Blaikie for the help here. llvm-svn: 239431
-
Benjamin Kramer authored
llvm-svn: 239430
-
Pete Cooper authored
Based on feedback to r239428 by David Blaikie, use const_cast to reduce duplication of the const and non-const versions of getNameEntryPtr. Also have that method return the pointer to the name directly instead of users having to then get the name from the union. Finally, add a FIXME that we should use a static_assert once available in the new operator. llvm-svn: 239429
-
Pete Cooper authored
This should hopefully fix the 32-bit bots which were allocating space for a pointer but needed to be aligned to 64-bits. Now we allocate enough space for a uint64_t and a pointer and cast to the appropriate storage llvm-svn: 239428
-
Akira Hatanaka authored
that was resetting it. Remove the uses of DisableTailCalls in subclasses of TargetLowering and use the value of function attribute "disable-tail-calls" instead. Also, unconditionally add pass TailCallElim to the pipeline and check the function attribute at the start of runOnFunction to disable the pass on a per-function basis. This is part of the work to remove TargetMachine::resetTargetOptions, and since DisableTailCalls was the last non-fast-math option that was being reset in that function, we should be able to remove the function entirely after the work to propagate IR-level fast-math flags to DAG nodes is completed. Out-of-tree users should remove the uses of DisableTailCalls and make changes to attach attribute "disable-tail-calls"="true" or "false" to the functions in the IR. rdar://problem/13752163 Differential Revision: http://reviews.llvm.org/D10099 llvm-svn: 239427
-
Akira Hatanaka authored
This commit adds back the code that seems to have been dropped unintentionally in r176985. rdar://problem/13752163 Differential Revision: http://reviews.llvm.org/D10100 llvm-svn: 239426
-
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
-