<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/lib/Transforms/IPO, branch ortega-7.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=ortega-7.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=ortega-7.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2018-10-26T16:52:32+00:00</updated>
<entry>
<title>Merging r344325:</title>
<updated>2018-10-26T16:52:32+00:00</updated>
<author>
<name>Tom Stellard</name>
<email>tstellar@redhat.com</email>
</author>
<published>2018-10-26T16:52:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9e981fb6e135e1ac0a900b76c8798c1cf510248d'/>
<id>urn:sha1:9e981fb6e135e1ac0a900b76c8798c1cf510248d</id>
<content type='text'>
------------------------------------------------------------------------
r344325 | evgeny777 | 2018-10-12 00:24:02 -0700 (Fri, 12 Oct 2018) | 4 lines

[ThinLTO] Don't import GV which contains blockaddress

Differential revision: https://reviews.llvm.org/D53139

------------------------------------------------------------------------

llvm-svn: 345401
</content>
</entry>
<entry>
<title>Revert "Enrich inline messages", tests fail</title>
<updated>2018-08-01T08:02:40+00:00</updated>
<author>
<name>David Bolvansky</name>
<email>david.bolvansky@gmail.com</email>
</author>
<published>2018-08-01T08:02:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fbbb83c782d310d7bcbeec9b4397816206449107'/>
<id>urn:sha1:fbbb83c782d310d7bcbeec9b4397816206449107</id>
<content type='text'>
llvm-svn: 338496
</content>
</entry>
<entry>
<title>Enrich inline messages</title>
<updated>2018-08-01T07:37:16+00:00</updated>
<author>
<name>David Bolvansky</name>
<email>david.bolvansky@gmail.com</email>
</author>
<published>2018-08-01T07:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7f36cd9d96b9cc27a14dcf9dc0c2928b0e27998d'/>
<id>urn:sha1:7f36cd9d96b9cc27a14dcf9dc0c2928b0e27998d</id>
<content type='text'>
Summary:
This patch improves Inliner to provide causes/reasons for negative inline decisions.
1. It adds one new message field to InlineCost to report causes for Always and Never instances. All Never and Always instantiations must provide a simple message.
2. Several functions that used to return the inlining results as boolean are changed to return InlineResult which carries the cause for negative decision.
3. Changed remark priniting and debug output messages to provide the additional messages and related inline cost.
4. Adjusted tests for changed printing.

Patch by: yrouban (Yevgeny Rouban)


Reviewers: craig.topper, sammccall, sgraenitz, NutshellySima, shchenz, chandlerc, apilipenko, javed.absar, tejohnson, dblaikie, sanjoy, eraman, xbolva00

Reviewed By: tejohnson, xbolva00

Subscribers: xbolva00, llvm-commits, arsenm, mehdi_amini, eraman, haicheng, steven_wu, dexonsmith

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

llvm-svn: 338494
</content>
</entry>
<entry>
<title>Revert Enrich inline messages</title>
<updated>2018-07-31T14:47:22+00:00</updated>
<author>
<name>David Bolvansky</name>
<email>david.bolvansky@gmail.com</email>
</author>
<published>2018-07-31T14:47:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ab79414f7b29c8a82eebcc6daf055c8251641558'/>
<id>urn:sha1:ab79414f7b29c8a82eebcc6daf055c8251641558</id>
<content type='text'>
llvm-svn: 338389
</content>
</entry>
<entry>
<title>Enrich inline messages</title>
<updated>2018-07-31T14:25:24+00:00</updated>
<author>
<name>David Bolvansky</name>
<email>david.bolvansky@gmail.com</email>
</author>
<published>2018-07-31T14:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b562dbabdad4f4842b7eb20c44cdf9e25bd5af54'/>
<id>urn:sha1:b562dbabdad4f4842b7eb20c44cdf9e25bd5af54</id>
<content type='text'>
Summary:
This patch improves Inliner to provide causes/reasons for negative inline decisions.
1. It adds one new message field to InlineCost to report causes for Always and Never instances. All Never and Always instantiations must provide a simple message.
2. Several functions that used to return the inlining results as boolean are changed to return InlineResult which carries the cause for negative decision.
3. Changed remark priniting and debug output messages to provide the additional messages and related inline cost.
4. Adjusted tests for changed printing.

Patch by: yrouban (Yevgeny Rouban)


Reviewers: craig.topper, sammccall, sgraenitz, NutshellySima, shchenz, chandlerc, apilipenko, javed.absar, tejohnson, dblaikie, sanjoy, eraman, xbolva00

Reviewed By: tejohnson, xbolva00

Subscribers: xbolva00, llvm-commits, arsenm, mehdi_amini, eraman, haicheng, steven_wu, dexonsmith

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

llvm-svn: 338387
</content>
</entry>
<entry>
<title>Revert "[GVNHoist] Re-enable GVNHoist by default"</title>
<updated>2018-07-30T20:07:33+00:00</updated>
<author>
<name>Vlad Tsyrklevich</name>
<email>vlad@tsyrklevich.net</email>
</author>
<published>2018-07-30T20:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1c7160e85fab7a92018f3b8837ff564935b61fa8'/>
<id>urn:sha1:1c7160e85fab7a92018f3b8837ff564935b61fa8</id>
<content type='text'>
This reverts commit r338240 because it was causing OOMs on the UBSan
buildbot when building clang/lib/Sema/SemaChecking.cpp

llvm-svn: 338297
</content>
</entry>
<entry>
<title>Remove trailing space</title>
<updated>2018-07-30T19:41:25+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2018-07-30T19:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f78650a8deca216b858827ff430972c114a60a7a'/>
<id>urn:sha1:f78650a8deca216b858827ff430972c114a60a7a</id>
<content type='text'>
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h}

llvm-svn: 338293
</content>
</entry>
<entry>
<title>[GVNHoist] Re-enable GVNHoist by default</title>
<updated>2018-07-30T10:50:18+00:00</updated>
<author>
<name>Alexandros Lamprineas</name>
<email>alexandros.lamprineas@arm.com</email>
</author>
<published>2018-07-30T10:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=de3ca964c1bf1d37bc3db53fe242528acb9d9d5e'/>
<id>urn:sha1:de3ca964c1bf1d37bc3db53fe242528acb9d9d5e</id>
<content type='text'>
My initial motivation for this came from https://reviews.llvm.org/D48122,
where it was pointed out that my change didn't fit well in SimplifyCFG and
therefore using GVNHoist was a better way to go. GVNHoist has been disabled
for a while as there was a list of bugs related to it.

I have fixed the following bugs:

https://bugs.llvm.org/show_bug.cgi?id=37808 -&gt; https://reviews.llvm.org/D48372 (rL337149)
https://bugs.llvm.org/show_bug.cgi?id=36787 -&gt; https://reviews.llvm.org/D49555 (rL337674)
https://bugs.llvm.org/show_bug.cgi?id=37445 -&gt; https://reviews.llvm.org/D49425 (rL337680)

The next two bugs no longer occur, and it's unclear which commit fixed them:

https://bugs.llvm.org/show_bug.cgi?id=36635
https://bugs.llvm.org/show_bug.cgi?id=37791

I investigated this one and proved to be unrelated to GVNHoist, but a genuine bug in NewGvn:

https://bugs.llvm.org/show_bug.cgi?id=37660

To convince myself GVNHoist is in a good state I made a successful bootstrap build of LLVM.
Merging this change now in order to make it to the LLVM 7.0.0 branch.

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

llvm-svn: 338240
</content>
</entry>
<entry>
<title>[GlobalOpt] Test array indices inside structs for out-of-bounds accesses</title>
<updated>2018-07-28T08:20:10+00:00</updated>
<author>
<name>David Green</name>
<email>david.green@arm.com</email>
</author>
<published>2018-07-28T08:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fc4b0fe0a2c3a0908afdb625f0cef843acdc126c'/>
<id>urn:sha1:fc4b0fe0a2c3a0908afdb625f0cef843acdc126c</id>
<content type='text'>
We now, from clang, can turn arrays of
  static short g_data[] = {16, 16, 16, 16, 16, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0};
into structs of the form
  @g_data = internal global &lt;{ [8 x i16], [8 x i16] }&gt; ...

GlobalOpt will incorrectly SROA it, not realising that the access to the first
element may overflow into the second. This fixes it by checking geps more
thoroughly.

I believe this makes the globalsra-partial.ll test case invalid as the %i value
could be out of bounds. I've re-purposed it as a negative test for this case.

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

llvm-svn: 338192
</content>
</entry>
<entry>
<title>Revert r337904: [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions.</title>
<updated>2018-07-25T19:44:19+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>florian.hahn@arm.com</email>
</author>
<published>2018-07-25T19:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b6613ac665cfad86260a3ab61b8eb43c61c5a0fe'/>
<id>urn:sha1:b6613ac665cfad86260a3ab61b8eb43c61c5a0fe</id>
<content type='text'>
I suspect it is causing the clang-stage2-Rthinlto failures.

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