- Jul 29, 2017
-
-
Stephan T. Lavavej authored
llvm-svn: 309466
-
Stephan T. Lavavej authored
llvm-svn: 309465
-
Stephan T. Lavavej authored
llvm-svn: 309464
-
Stephan T. Lavavej authored
llvm-svn: 309463
-
Alexander Shaposhnikov authored
This diff removes the second argument of the method MachOObjectFile::exports. In all in-tree uses this argument is equal to "this" and without this argument the interface seems to be cleaner. Test plan: make check-all llvm-svn: 309462
-
Vedant Kumar authored
Differential Revision: https://reviews.llvm.org/D34591 llvm-svn: 309461
-
Vedant Kumar authored
The path to one of my source trees contains 'builtin' as a substring, so this test failed. Fix it with FileCheck. llvm-svn: 309460
-
Vedant Kumar authored
On some targets, passing zero to the clz() or ctz() builtins has undefined behavior. I ran into this issue while debugging UB in __hash_table from libcxx: the bug I was seeing manifested itself differently under -O0 vs -Os, due to a UB call to clz() (see: libcxx/r304617). This patch introduces a check which can detect UB calls to builtins. llvm.org/PR26979 Differential Revision: https://reviews.llvm.org/D34590 llvm-svn: 309459
-
Michael Kruse authored
llvm-svn: 309458
-
Eli Friedman authored
When I tried running the script, the ARM regex parser could not parse my code. It failed because the .Lfunc_end line has a comment at the end of it, so this commit removes the newline at the end of the regex. Patch by Joel Galenson! Differential Revision: https://reviews.llvm.org/D35641 llvm-svn: 309457
-
Tobias Edler von Koch authored
Summary: This exposes LTO's Conf.SampleProfile as a command line option (-lto-sample-profile-file) for testing via the llvm-lto2 utility. Reviewers: pcc, danielcdh Subscribers: mehdi_amini, inglorion, llvm-commits Differential Revision: https://reviews.llvm.org/D36030 llvm-svn: 309456
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309455
-
Michael Kruse authored
These were wrongly assumed to be phi nodes that require MemoryKind::PHI accesses. llvm-svn: 309454
-
Michael Kruse authored
It should be empty anyways. In this case it would even be redundant because we just all all instructions in region statements. llvm-svn: 309453
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309451
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309450
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309449
-
Adrian Prantl authored
llvm-svn: 309448
-
Farhana Aleen authored
llvm-svn: 309447
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309446
-
Sumanth Gundapaneni authored
llvm-svn: 309445
-
Sumanth Gundapaneni authored
Differential Revision: https://reviews.llvm.org/D35579 llvm-svn: 309444
-
Kostya Serebryany authored
llvm-svn: 309443
-
Krzysztof Parzyszek authored
llvm-svn: 309442
-
Easwaran Raman authored
Summary: Inlining threshold is increased by application of bonuses when the callee has a single reachable basic block or is rich in vector instructions. Similarly, inlining cost is reduced by applying a large bonus when the last call to a static function is considered for inlining. This patch disables the application of these bonuses when the callsite or the callee is cold. The intention here is to prevent a large cold callsite from being inlined to a non-cold caller that could prevent the caller from being inlined. This is especially important when the cold callsite is a last call to a static since the associated bonus is very high. Reviewers: chandlerc, davidxl Subscribers: danielcdh, llvm-commits Differential Revision: https://reviews.llvm.org/D35823 llvm-svn: 309441
-
Reid Kleckner authored
llvm-svn: 309440
-
Adrian Prantl authored
Followup to r309426. rdar://problem/33580047 llvm-svn: 309436
-
Reid Kleckner authored
llvm-svn: 309434
-
Adrian Prantl authored
llvm-svn: 309433
-
Reid Kleckner authored
This should fix googletest-format test failures on the clang modules buildbots, which have a stale copy of the OneTest script in the build directory. llvm-svn: 309432
-
Adrian Prantl authored
llvm-svn: 309431
-
Krzysztof Parzyszek authored
llvm-svn: 309430
-
Chris Bieneman authored
lldb-forward.h which is a public header uses SharingPtr, so we need to include that header as well. llvm-svn: 309429
-
Chris Bieneman authored
Small change to correct the install path of the nonui debugserver. llvm-svn: 309428
-
Adrian Prantl authored
llvm-svn: 309427
-
Adrian Prantl authored
There is no situation where this rarely-used argument cannot be substituted with a DIExpression and removing it allows us to simplify the DWARF backend. Note that this patch does not yet remove any of the newly dead code. rdar://problem/33580047 Differential Revision: https://reviews.llvm.org/D35951 llvm-svn: 309426
-
Alexey Bataev authored
Summary: After some changes in SLP vectorizer we missed some additional checks to limit the instructions for vectorization. We should not perform analysis of the instructions if the parent of instruction is not the same as the parent of the first instruction in the tree or it was analyzed already. Subscribers: mzolotukhin Differential Revision: https://reviews.llvm.org/D34881 llvm-svn: 309425
-
Matt Morehouse authored
Summary: Included is one test for passing structs by value and one test for passing C++ objects by value. Reviewers: eugenis, vitalybuka Reviewed By: eugenis Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D34827 llvm-svn: 309424
-
Sterling Augustine authored
llvm-svn: 309423
-
Reid Kleckner authored
The conditional tail call logic did the wrong thing when both destinations of a conditional branch were the same: BB#1: derived from LLVM BB %entry Live Ins: %EFLAGS Predecessors according to CFG: BB#0 JE_1 <BB#5>, %EFLAGS<imp-use,kill> JMP_1 <BB#5> BB#5: derived from LLVM BB %sw.epilog Predecessors according to CFG: BB#1 TCRETURNdi64 <ga:@mergeable_conditional_tailcall>, 0, ... We would fold the JE_1 to a TCRETURNdi64cc, and then remove our BB#5 successor. Then BB#5 would be deleted as it had no predecessors, leaving a dangling "JMP_1 <BB#5>" reference behind to cause assertions later. This patch checks that both conditional branch destinations are different before doing the transform. The standard branch folding logic is able to remove both the JMP_1 and the JE_1, and for my test case we end up forming a better conditional tail call later. Fixes PR33980 llvm-svn: 309422
-