<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/tools/opt/opt.cpp, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-04T15:47:23+00:00</updated>
<entry>
<title>Re-apply "[Examples] Add IRTransformations directory to examples."</title>
<updated>2020-01-04T15:47:23+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2020-01-04T15:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0bb22b91ea335b964b99862834164b0b3a866eb4'/>
<id>urn:sha1:0bb22b91ea335b964b99862834164b0b3a866eb4</id>
<content type='text'>
This reverts commit 19fd8925a4afe6efd248688cce06aceff50efe0c.

Should include a fix for PR44197.
</content>
</entry>
<entry>
<title>Generalize the pass registration mechanism used by Polly to any third-party tool</title>
<updated>2020-01-02T15:45:31+00:00</updated>
<author>
<name>serge_sans_paille</name>
<email>sguelton@redhat.com</email>
</author>
<published>2019-06-08T15:37:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=24ab9b537e61b3fe5e6a1019492ff6530d82a3ee'/>
<id>urn:sha1:24ab9b537e61b3fe5e6a1019492ff6530d82a3ee</id>
<content type='text'>
There's quite a lot of references to Polly in the LLVM CMake codebase. However
the registration pattern used by Polly could be useful to other external
projects: thanks to that mechanism it would be possible to develop LLVM
extension without touching the LLVM code base.

This patch has two effects:

1. Remove all code specific to Polly in the llvm/clang codebase, replaicing it
   with a generic mechanism

2. Provide a generic mechanism to register compiler extensions.

A compiler extension is similar to a pass plugin, with the notable difference
that the compiler extension can be configured to be built dynamically (like
plugins) or statically (like regular passes).

As a result, people willing to add extra passes to clang/opt can do it using a
separate code repo, but still have their pass be linked in clang/opt as built-in
passes.

Differential Revision: https://reviews.llvm.org/D61446
</content>
</entry>
<entry>
<title>[opt] Fix run-twice crash and detection problem</title>
<updated>2019-12-30T08:42:46+00:00</updated>
<author>
<name>Peter Kokai</name>
<email>kokaipeter@gmail.com</email>
</author>
<published>2019-12-30T08:22:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=36ae255663cfbe1813fcda7de421e3e10c00c91b'/>
<id>urn:sha1:36ae255663cfbe1813fcda7de421e3e10c00c91b</id>
<content type='text'>
1. Execute `opt -run-twice a.ll` with in a terminal will crash.
   https://bugs.llvm.org/show_bug.cgi?id=44382
2. `-run-twice` saves output into two buffers and compares them.
   When outputing the result is disabled, that produces two empty string thus
   they are going to be equal all the time resulting false-positive results.

The proposed solution is to generate the results even if the output will not be
emitted, as that is required for the comparision.

Differential Revision: https://reviews.llvm.org/D71967
</content>
</entry>
<entry>
<title>[CodeGen] Move ARMCodegenPrepare to TypePromotion</title>
<updated>2019-12-03T11:12:52+00:00</updated>
<author>
<name>Sam Parker</name>
<email>sam.parker@arm.com</email>
</author>
<published>2019-12-03T11:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bc76dadb3cf16c38564ccb1cc54206279b7c54bc'/>
<id>urn:sha1:bc76dadb3cf16c38564ccb1cc54206279b7c54bc</id>
<content type='text'>
Convert ARMCodeGenPrepare into a generic type promotion pass by:
- Removing the insertion of arm specific intrinsics to handle narrow
  types as we weren't using this.
- Removing ARMSubtarget references.
- Now query a generic TLI object to know which types should be
  promoted and what they should be promoted to.
- Move all codegen tests into Transforms folder and testing using opt
  and not llc, which is how they should have been written in the
  first place...

The pass searches up from icmp operands in an attempt to safely
promote types so we can avoid generating unnecessary unsigned extends
during DAG ISel.

Differential Revision: https://reviews.llvm.org/D69556
</content>
</entry>
<entry>
<title>Revert "[Examples] Add IRTransformations directory to examples."</title>
<updated>2019-12-01T22:20:20+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2019-12-01T22:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=19fd8925a4afe6efd248688cce06aceff50efe0c'/>
<id>urn:sha1:19fd8925a4afe6efd248688cce06aceff50efe0c</id>
<content type='text'>
This breaks LLVMExports.cmake in some build configurations.

PR44197

This reverts commits ceb72d07b004af9c428c4a3c73a98ea97d49a713
                     7d0b1d77b3d4d47df477519fd1bf099b3df6f899.
</content>
</entry>
<entry>
<title>Add -disable-builtin option to opt</title>
<updated>2019-11-13T20:32:49+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dimitry@andric.com</email>
</author>
<published>2019-11-13T19:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=597b77fb7ff9419c502a0bfa582688d1e70d0309'/>
<id>urn:sha1:597b77fb7ff9419c502a0bfa582688d1e70d0309</id>
<content type='text'>
Summary:
The option allows to disable specific target library builtin functions,
instead of -disable-simplify-libcalls, which disables all of them.

This is a prerequisite for D70143, which fixes PR43081.

Reviewers: xbolva00, spatel, jdoerfert, efriedma

Reviewed By: efriedma

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70193
</content>
</entry>
<entry>
<title>[Examples] Add IRTransformations directory to examples.</title>
<updated>2019-11-12T14:14:48+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2019-11-12T14:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7d0b1d77b3d4d47df477519fd1bf099b3df6f899'/>
<id>urn:sha1:7d0b1d77b3d4d47df477519fd1bf099b3df6f899</id>
<content type='text'>
This patch adds a new IRTransformations directory to llvm/examples/. This is
intended to serve as a new home for example transformations/analysis
code used by various tutorials.

If LLVM_BUILD_EXAMPLES is enabled, the ExamplesIRTransforms library is
linked into the opt binary and the example passes become available.

To start off with, it contains the CFG simplifications used in the IR
part of the 'Getting Started With LLVM: Basics' tutorial at the US LLVM
Developers Meeting 2019.

Reviewers: paquette, jfb, meikeb, lhames, kbarton

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D69416
</content>
</entry>
<entry>
<title>[debugify] Move the Debugify pass from tools/opt to lib/Transform/Utils</title>
<updated>2019-11-07T22:41:54+00:00</updated>
<author>
<name>Daniel Sanders</name>
<email>daniel_l_sanders@apple.com</email>
</author>
<published>2019-11-07T00:08:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=25ee861372f1b6f512fb1fc7c938267670cf0cab'/>
<id>urn:sha1:25ee861372f1b6f512fb1fc7c938267670cf0cab</id>
<content type='text'>
Summary:
I need to make use of this pass from a driver program that isn't opt.
Therefore this patch moves this pass into the LLVM library so that it is
available for use elsewhere.

There was one function I kept in tools/opt which is exportDebugifyStats()
this is because it's serializing the statistics into a human readable
format and this seemed more in keeping with opt than a library function

Reviewers: vsk, aprantl

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69926
</content>
</entry>
<entry>
<title>[LegacyPassManager] Delete BasicBlockPass/Manager.</title>
<updated>2019-10-30T18:40:16+00:00</updated>
<author>
<name>Alina Sbirlea</name>
<email>asbirlea@google.com</email>
</author>
<published>2019-10-30T18:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9f0ff0b2634bab6a5be8dace005c9eb24d386dd1'/>
<id>urn:sha1:9f0ff0b2634bab6a5be8dace005c9eb24d386dd1</id>
<content type='text'>
Summary:
Delete the BasicBlockPass and BasicBlockManager, all its dependencies and update documentation.
The BasicBlockManager was improperly tested and found to be potentially broken, and was deprecated as of rL373254.

In light of the switch to the new pass manager coming before the next release, this patch is a first cleanup of the LegacyPassManager.

Reviewers: chandlerc, echristo

Subscribers: mehdi_amini, sanjoy.google, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69121
</content>
</entry>
<entry>
<title>[Tools] Mark output of tools as text if it is text</title>
<updated>2019-10-08T08:21:20+00:00</updated>
<author>
<name>Kai Nacke</name>
<email>kai.nacke@redstar.de</email>
</author>
<published>2019-10-08T08:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c9ddda84052659698b921e6c3a5bf7df9df599ce'/>
<id>urn:sha1:c9ddda84052659698b921e6c3a5bf7df9df599ce</id>
<content type='text'>
Several LLVM tools write text files/streams without using OF_Text.
This can cause problems on platforms which distinguish between
text and binary output. This PR adds the OF_Text flag for the
following tools:

- llvm-dis
- llvm-dwarfdump
- llvm-mca
- llvm-mc (assembler files only)
- opt (assembler files only)
- RemarkStreamer (used e.g. by opt)

Reviewers: rnk, vivekvpandya, Bigcheese, andreadb

Differential Revision: https://reviews.llvm.org/D67696

llvm-svn: 374024
</content>
</entry>
</feed>
