- Apr 26, 2017
-
-
Krzysztof Parzyszek authored
llvm-svn: 301346
-
Gil Rapaport authored
This patch is part of D28975's breakdown. induction.ll encodes the specific (and rather arbitrary) numbers given to predicated basic blocks by the unique naming mechanism, which makes it sensitive to changes in LV's instruction generation order. This patch replaces those specific numbers with a numeric pattern. Differential Revision: https://reviews.llvm.org/D32404 llvm-svn: 301345
-
Davide Italiano authored
llvm-svn: 301344
-
Stanislav Mekhanoshin authored
Differential Revisison: https://reviews.llvm.org/D32101 llvm-svn: 301343
-
Simon Pilgrim authored
llvm-svn: 301342
-
Craig Topper authored
The code I've removed here exists in ExpandBinOp in InstSimplify which we call into before SimplifyUsingDistributiveLaws. The code in InstSimplify looks to have been copied from here. I verified this code doesn't fire on any lit tests. Not that that proves its definitely dead. Differential Revision: https://reviews.llvm.org/D32472 llvm-svn: 301341
-
Carlo Bertolli authored
[OpenMP] Initial implementation of code generation for pragma 'distribute parallel for' on host https://reviews.llvm.org/D29508 This patch makes the following additions: It abstracts away loop bound generation code from procedures associated with pragma 'for' and loops in general, in such a way that the same procedures can be used for 'distribute parallel for' without the need for a full re-implementation. It implements code generation for 'distribute parallel for' and adds regression tests. It includes tests for clauses. It is important to notice that most of the clauses are implemented as part of existing procedures. For instance, firstprivate is already implemented for 'distribute' and 'for' as separate pragmas. As the implementation of 'distribute parallel for' is based on the same procedures, then we automatically obtain implementation for such clauses without the need to add new code. However, this requires regression tests that verify correctness of produced code. llvm-svn: 301340
-
Davide Italiano authored
llvm-svn: 301339
-
Craig Topper authored
This patch uses various APInt methods to reduce temporary APInt creation. This should be all of the unrelated cleanups that got buried in D32376(creating a KnownBits struct) as well as some pointed out by Simon during the review of that. Plus a few improvements to use counting instead of masking. I've left out any places where we do something like (KnownZero & KnownOne) != 0 as I plan to add a helper method to KnownBits to ask that question and didn't want to thrash that code an additional time. Differential Revision: https://reviews.llvm.org/D32495 llvm-svn: 301338
-
Craig Topper authored
llvm-svn: 301337
-
Rui Ueyama authored
No functionality change. llvm-svn: 301336
-
Alex Shlyapnikov authored
Summary: Generalize already defined LSan suppression for the leak on pthread_exit, some envs do not have the entire call stack symbolized, so we have to be less specific. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32497 llvm-svn: 301335
-
Simon Pilgrim authored
llvm-svn: 301334
-
Adrian Prantl authored
The previous code was complex, incorrect, and couldn't print everything. llvm-svn: 301333
-
Rui Ueyama authored
llvm-svn: 301332
-
Sam Clegg authored
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32459 llvm-svn: 301331
-
Sam Clegg authored
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32462 llvm-svn: 301330
-
Craig Topper authored
The code Sanjay Patel moved over from InstCombine doesn't work properly if the 'and' has both inputs as nots because we used a commuted op matcher on the 'and' first. But this will bind to the first 'not' on 'and' when there could be two 'not's. InstCombine could rely on DeMorgan to ensure the 'and' wouldn't have two 'not's eventually, but InstSimplify can't rely on that. This patch matches the xor first then checks for the ands and allows a not of either operand of the xor. Differential Revision: https://reviews.llvm.org/D32458 llvm-svn: 301329
-
Alex Lorenz authored
Fixes PR32539. Patch by Emilio Cobos Álvarez! Differential Revision: https://reviews.llvm.org/D32348 llvm-svn: 301328
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D32465 llvm-svn: 301327
-
Craig Topper authored
llvm-svn: 301326
-
Craig Topper authored
llvm-svn: 301325
-
Craig Topper authored
This is a pre-commit for a patch I'm working on to turn KnownZero/One into a struct. Once I do that the type here will be less obvious. llvm-svn: 301324
-
Craig Topper authored
This is a pre-commit for a patch that I'm working on to merge KnownZero/KnownOne into a KnownBits struct which would have had to touch this line. llvm-svn: 301323
-
Simon Pilgrim authored
llvm-svn: 301322
-
George Rokos authored
Differential Revision: https://reviews.llvm.org/D32321 llvm-svn: 301321
-
Simon Pilgrim authored
llvm-svn: 301320
-
Rui Ueyama authored
Previously we were not printing out the flags of the incompatible section which made it difficult to determine what the problem was. The error message format has been change to the following: error: incompatible section flags for .bar >>> /foo/bar/incompatible-section-flags.s.tmp.o:(.bar): 0x403 >>> output section .bar: 0x3 Patch by Alexander Richardson. Differential Revision: https://reviews.llvm.org/D32484 llvm-svn: 301319
-
- Apr 25, 2017
-
-
George Rokos authored
Differential Revision: https://reviews.llvm.org/D32490 llvm-svn: 301318
-
Andrew Ng authored
This patch reapplies r301309 with the fix to the MIR test to fix the assertion triggered by r301309. Had trimmed a little bit too much from the MIR! llvm-svn: 301317
-
Craig Topper authored
The matching here wasn't able to handle all the possible commutes. It always assumed the not would be on the left of the xor, but that's not guaranteed. Differential Revision: https://reviews.llvm.org/D32474 llvm-svn: 301316
-
Alex Lorenz authored
rdar://31758344 llvm-svn: 301315
-
Simon Pilgrim authored
llvm-svn: 301314
-
Dylan McKay authored
llvm-svn: 301313
-
Andrew Ng authored
This reverts commit r301309 which is causing buildbot assertion failures. llvm-svn: 301312
-
Daniel Sanders authored
Summary: No test case since I'm not aware of an in-tree target that needs this. Reviewers: hans Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32398 llvm-svn: 301311
-
Alex Lorenz authored
rdar://31603531 llvm-svn: 301310
-
Andrew Ng authored
This patch fixes a bug with the updating of DBG_VALUE's in BreakAntiDependencies. Previously, it would only attempt to update the first DBG_VALUE following the instruction whose register is being changed, potentially leaving DBG_VALUE's referring to the wrong register. Now the code will update all DBG_VALUE's that immediately follow the instruction. This issue was detected as a result of an optimized codegen difference with "-g" where an X86 byte/word fixup was not performed due to a DBG_VALUE referencing the wrong register. Differential Revision: https://reviews.llvm.org/D31755 llvm-svn: 301309
-
Simon Pilgrim authored
Noticed in D32391. llvm-svn: 301308
-
Nitesh Jain authored
llvm-svn: 301307
-