- Oct 17, 2015
-
-
Andrew Kaylor authored
Patch by Mitch Bodart Differential Revision: http://reviews.llvm.org/D13780 llvm-svn: 250550
-
Krzysztof Parzyszek authored
llvm-svn: 250549
-
Rafael Espindola authored
llvm-svn: 250548
-
Richard Barton authored
llvm-svn: 250547
-
Richard Barton authored
If you increase the number of diags of a particular type by one more than the number available you get the nice assert message. If you do it by two more than available you get the old non-helpful message. Combining the two makes sense I think. llvm-svn: 250546
-
David Majnemer authored
No functionality change is intended. llvm-svn: 250545
-
Rafael Espindola authored
llvm-svn: 250544
-
Krzysztof Parzyszek authored
llvm-svn: 250543
-
Krzysztof Parzyszek authored
llvm-svn: 250542
-
Ed Maste authored
Differential Revision: http://reviews.llvm.org/D13820 llvm-svn: 250541
-
Hal Finkel authored
When I initially implemented PPC64TargetInfo::isRelRelative, I included a fixed set of relative relocations, and made the default false. In retrospect, this seems unwise in two respects: First, most PPC64 relocations are relative (either to the base address, the TOC, etc.). Second, most relocation targets are not appropriate for R_PPC64_RELATIVE (which writes a 64-bit absolute address). Thus, back off, and include only those relocations for which we test (or soon will), and are obviously appropriate for R_PPC64_RELATIVE. llvm-svn: 250540
-
Diego Novillo authored
The number of samples collected at the head of a function only make sense for top-level functions (i.e., those actually called as opposed to being inlined inside another). Head samples essentially count the time spent inside the function's prologue. This clearly doesn't make sense for inlined functions, so we were always emitting 0 in those. llvm-svn: 250539
-
Eugene Zelenko authored
Differential Revision: http://reviews.llvm.org/D13684 llvm-svn: 250538
-
Matthias Gehre authored
Summary: This check flags all access to members of unions. Passing unions as a whole is not flagged. Reading from a union member assumes that member was the last one written, and writing to a union member assumes another member with a nontrivial destructor had its destructor called. This is fragile because it cannot generally be enforced to be safe in the language and so relies on programmer discipline to get it right. This rule is part of the "Type safety" profile of the C++ Core Guidelines, see https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#-type7-avoid-accessing-members-of-raw-unions-prefer-variant-instead Reviewers: alexfh, sbenza, bkramer, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13784 llvm-svn: 250537
-
James Y Knight authored
Also move the addLibStdCXXIncludePaths helper function from Linux to Generic_GCC. llvm-svn: 250536
-
JF Bastien authored
Summary: The syntax has changed a bit recently. Reviewers: binji Subscribers: llvm-commits, jfb, sunfish, dschuff Differential Revision: http://reviews.llvm.org/D13821 llvm-svn: 250535
-
Joseph Tremoulet authored
Summary: When a cleanup's cleanupendpad or cleanupret targets a catchendpad, stop trying to propagate the cleanup's parent's color to the catchendpad, since what's needed is the cleanup's grandparent's color and the catchendpad will get that color from the catchpad linkage already. We already had this exclusion for invokes, but were missing it for cleanupendpad/cleanupret. Also add a missing line that tags cleanupendpads' states in the EHPadStateMap, without with lowering invokes that target cleanupendpads which unwind to other handlers (and so don't have the -1 state) will fail. This fixes the reduced IR repro in PR25163. Reviewers: majnemer, andrew.w.kaylor, rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13797 llvm-svn: 250534
-
Zachary Turner authored
Mostly this is just converting some print statements to print functions. llvm-svn: 250533
-
Zachary Turner authored
llvm-svn: 250532
-
Zachary Turner authored
llvm-svn: 250531
-
Zachary Turner authored
llvm-svn: 250530
-
Yaron Keren authored
llvm-svn: 250529
-
Sanjay Patel authored
llvm-svn: 250528
-
Sanjay Patel authored
Ideally, we would like SimplifyCFG to be able to form select instructions even when the operands are expensive (as defined by the TTI cost model) because that may expose further optimizations. However, we would then like a later pass like CodeGenPrepare to undo that transformation if the target would likely benefit from not speculatively executing an expensive op (this patch). Once we have this safety mechanism in place, we can adjust SimplifyCFG to restore its select-formation behavior that changed with r248439. Differential Revision: http://reviews.llvm.org/D13297 llvm-svn: 250527
-
Jonathan Peyton authored
This fix implements the following OMPT events for the API locking routines: * ompt_event_acquired_lock * ompt_event_acquired_nest_lock_first * ompt_event_acquired_nest_lock_next * ompt_event_init_lock * ompt_event_init_nest_lock * ompt_event_destroy_lock * ompt_event_destroy_nest_lock For the acquired events the depths of the locks ist required, so a return value was added similiar to the return values we already have for the release lock routines. Patch by Tim Cramer Differential Revision: http://reviews.llvm.org/D13689 llvm-svn: 250526
-
Zachary Turner authored
Using the Python native C API is non-portable across Python versions, so this patch changes them to use the `PythonFile` class which hides the version specific differences behind a single interface. llvm-svn: 250525
-
JF Bastien authored
Summary: Make the relooper an analysis pass, to convert CFG to AST. Reviewers: sunfish Subscribers: jfb, dschuff Differential Revision: http://reviews.llvm.org/D12744 llvm-svn: 250524
-
Angel Garcia Gomez authored
Summary: Prevent clang-tidy from discarding fixes that are in different files but happen to have the same file offset. Reviewers: klimek, bkramer Subscribers: bkramer, alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13810 llvm-svn: 250523
-
- Oct 16, 2015
-
-
Charlie Turner authored
Summary: Fixes PR25056. Reviewers: mcrosier, junbuml, jmolloy Subscribers: aemerson, rengolin, llvm-commits Differential Revision: http://reviews.llvm.org/D13466 llvm-svn: 250520
-
Rafael Espindola authored
llvm-svn: 250519
-
Michael Kruse authored
llvm-svn: 250518
-
Michael Kruse authored
PHI accesses will be handled separately by buildPHIAccesses, buildScalarDependences does not need to create additional accesses. llvm-svn: 250517
-
Filipe Cabecinhas authored
llvm-svn: 250516
-
Filipe Cabecinhas authored
llvm-svn: 250515
-
Filipe Cabecinhas authored
llvm-svn: 250514
-
Diego Novillo authored
llvm-svn: 250513
-
Zlatko Buljan authored
Commited two test files which are forgotten during commit of patch for http://reviews.llvm.org/D13376 llvm-svn: 250512
-
Hrvoje Varga authored
Differential Revision: http://reviews.llvm.org/D11633 llvm-svn: 250511
-
Benjamin Kramer authored
Resolves a -Wundefined-internal warning from clang. llvm-svn: 250510
-
Angel Garcia Gomez authored
Summary: Prevent clang-tidy from applying fixes to errors that overlap with other errors' fixes, with one exception: if one fix is completely contained inside another one, then we can apply the big one. Reviewers: bkramer, klimek Subscribers: djasper, cfe-commits, alexfh Differential Revision: http://reviews.llvm.org/D13516 llvm-svn: 250509
-