- Sep 11, 2015
-
-
Filipe Cabecinhas authored
llvm-svn: 247352
-
Reid Kleckner authored
Summary: This fixs the bug https://llvm.org/bugs/show_bug.cgi?id=12587 Patch by Yunlian Jiang Reviewers: Bigcheese, rnk Differential Revision: http://reviews.llvm.org/D10279 llvm-svn: 247351
-
John McCall authored
rdar://6198039 llvm-svn: 247350
-
Reid Kleckner authored
Cleanupendpad is a lot like catchendpad, so we can reuse the same EHScopeStack type. llvm-svn: 247349
-
Reid Kleckner authored
The Win32 EH runtime caller does not preserve EBP, even though it does preserve the CSRs (EBX, ESI, EDI) for us. The result was that each finally funclet call would leave the frame pointer off by 12 bytes. llvm-svn: 247348
-
- Sep 10, 2015
-
-
Roman Divacky authored
llvm-svn: 247347
-
David Majnemer authored
The type of a member pointer is incomplete if it has no inheritance model. This lets us reuse more general logic already embedded in clang. llvm-svn: 247346
-
Matt Arsenault authored
llvm-svn: 247345
-
Matt Arsenault authored
llvm-svn: 247344
-
James Y Knight authored
The (mostly-deprecated) SelectionDAG-based ILPListDAGScheduler scheduler was making poor scheduling decisions, causing high register pressure and extraneous register spills. Switching to the newer machine scheduler generates better code -- even without there being a machine model defined for SPARC yet. (Actually committing the test changes too, this time, unlike r247315) llvm-svn: 247343
-
Rafael Espindola authored
While at it, optimize getOffset a bit. llvm-svn: 247342
-
Reid Kleckner authored
WinEHPrepare's new coloring algorithm really expects to see cleanupendpads now, so Clang will start emitting them soon. llvm-svn: 247341
-
Jonathan Peyton authored
This only triggered when built in debug mode with OMPT enabled: __kmp_wait_template expected the state of the current thread to be either ompt_state_idle or ompt_state_wait_barrier{,_implicit,_explicit}. Patch by Jonas Hahnfeld Differential Revision: http://reviews.llvm.org/D12754 llvm-svn: 247339
-
Tobias Grosser authored
llvm-svn: 247338
-
Matthew Simpson authored
This patch enables small size reductions in which the source types are smaller than the reduction type (e.g., computing an i16 sum from the values in an i8 array). The previous behavior was to only allow small size reductions if the source types and reduction type were the same. The change accounts for the fact that the existing sign- and zero-extend instructions in these cases should still be included in the cost model. Differential Revision: http://reviews.llvm.org/D12770 llvm-svn: 247337
-
Lang Hames authored
This functionality was accidentally left out of r247119. llvm-svn: 247336
-
Lang Hames authored
before any relocations have been applied, and again after all relocations have been applied. Previously each section was dumped before and after relocations targetting it were applied, but this only shows the impact of relocations that point to other symbols in the same section. llvm-svn: 247335
-
Chandler Carruth authored
warning on them having always_inline attribute for reasons I don't fully understand -- static functions are just as inlinable as inline functions in terms of linkage. llvm-svn: 247334
-
Jonathan Peyton authored
This is a follow up to the hierarchy cleanup patch. Added some clarifying comments to hierarchy_info. Fixed a bug with the depth field not being updated cleanly during a resize. Fixed resize to first check capacity as determined by maxLevels before actually doing the full resize. Differential Revision: http://reviews.llvm.org/D12562 llvm-svn: 247333
-
Piotr Padlewski authored
It seems that there is small bug, and we can't generate assume loads when some virtual functions have internal visibiliy This reverts commit 982bb7d966947812d216489b3c519c9825cacbf2. llvm-svn: 247332
-
Reid Kleckner authored
llvm-svn: 247331
-
Rafael Espindola authored
It was /Writer.cpp:119:45: warning: enumeral and non-enumeral type in conditional expression llvm-svn: 247330
-
Greg Clayton authored
A little more cleanup in the build script that creates a list of archive directories to make things more clear. llvm-svn: 247329
-
James Y Knight authored
This reverts commit r247315. Accidentally omitted test changes; will resubmit full change shortly. llvm-svn: 247328
-
Nico Weber authored
llvm-svn: 247327
-
Jonathan Peyton authored
Some of this is improvement to code suggested by Hal Finkel. Four changes here: 1.Cleanup of hierarchy code to handle all hierarchy cases whether affinity is available or not 2.Separated this and other classes and common functions out to a header file 3.Added a destructor-like fini function for the hierarchy (and call in __kmp_cleanup) 4.Remove some redundant code that is hopefully no longer needed Differential Revision: http://reviews.llvm.org/D12449 llvm-svn: 247326
-
Peter Collingbourne authored
Specifically, only run the cfi-icall tests on x86/x86_64, and add an XFAIL for darwin. llvm-svn: 247325
-
Peter Collingbourne authored
llvm-svn: 247324
-
Rui Ueyama authored
Patch from Eugene Zelenko! llvm-svn: 247323
-
David Majnemer authored
The exact semantics of 'catchpad' are really in the hands of the personality routine so we shouldn't assume that they have no side effects. llvm-svn: 247322
-
Kostya Serebryany authored
[libFuzzer] refactor the code to allow building libFuzzer on platforms that don't have dfsan and don't support weak functions llvm-svn: 247321
-
Jonathan Peyton authored
The fix is to make b_arrived flag 64 bit in both structures - kmp_balign_team_t and kmp_balign_t. Otherwise when flag in kmp_balign_team_t wrapped over UINT_MAX the library hangs. Differential Revision: http://reviews.llvm.org/D12563 llvm-svn: 247320
-
Adrian Prantl authored
llvm-svn: 247319
-
Reid Kleckner authored
Also add tests for SEH with the new IRGen. llvm-svn: 247318
-
Artem Belevich authored
Link in and internalize the symbols we need from supplied bitcode library. Differential Revision: http://reviews.llvm.org/D11664 llvm-svn: 247317
-
Chris Bieneman authored
This is required because ExternalProject_Add requires all targets specified in the DEPENDS argument must exist before calling ExternalProject_Add. I have a follow-up patch to clang that enables using the just-built libLTO in bootstrap builds, so we need to be able to add the LTO target as a dependency in clang. llvm-svn: 247316
-
James Y Knight authored
The (mostly-deprecated) SelectionDAG-based ILPListDAGScheduler scheduler was making poor scheduling decisions, causing high register pressure and extraneous register spills. Switching to the newer machine scheduler generates better code -- even without there being a machine model defined for SPARC yet. llvm-svn: 247315
-
Matthew Simpson authored
This patch addresses the issue of SCEV division asserting on some input expressions (e.g., non-affine expressions) and quietly giving up on others. When giving up, we set the quotient to be equal to zero and the remainder to be equal to the numerator. With this patch, we always quietly give up when we cannot perform the division. This patch also adds a test case for DependenceAnalysis that previously caused an assertion. Differential Revision: http://reviews.llvm.org/D11725 llvm-svn: 247314
-
JF Bastien authored
This change correctly sets the attributes on the callsites generated in thunks. This makes sure things such as sret, sext, etc. are correctly set, so that the call can be a proper tailcall. Also, the transfer of attributes in the replaceDirectCallers function appears to be unnecessary, but until this is confirmed it will remain. Author: jrkoenig Reviewers: dschuff, jfb Subscribers: llvm-commits, nlewycky Differential revision: http://reviews.llvm.org/D12581 llvm-svn: 247313
-
David Blaikie authored
llvm-svn: 247312
-