SuccessChanges

Summary

  1. [InstCombine] add icmp tests with extra uses; NFC (details)
  2. [InstCombine] remove unneeded one-use checks for icmp fold (details)
  3. Commit missing part of "Split many_tls_keys.cpp into two tests" (details)
  4. [Attributor] Heap-To-Stack Conversion (details)
Commit c77ad16f8e5fd0ff0791e86fbbff14c376a1081d by spatel
[InstCombine] add icmp tests with extra uses; NFC
llvm-svn: 371939
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
Commit 3daf168fa986d00504483a0277988124d55a0b78 by spatel
[InstCombine] remove unneeded one-use checks for icmp fold
This fold and several others were added in: rL125734
...with no explanation for the one-use checks other than the code
comments about register pressure.
Given that this is IR canonicalization, we shouldn't be worried about
register pressure though; the backend should be able to adjust for that
as needed.
There are similar checks as noted with the TODO comments. I'm hoping to
remove those restrictions too, but if any of these does cause a
regression, it should be easier to correct by making small, individual
commits.
This is part of solving PR43310 the theoretically right way:
https://bugs.llvm.org/show_bug.cgi?id=43310
...ie, if we don't cripple basic transforms, then we won't need to add
special-case code to detect larger patterns.
llvm-svn: 371940
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
Commit f7877dd4b6371036e2255b08fb96555827976368 by n54
Commit missing part of "Split many_tls_keys.cpp into two tests"
https://reviews.llvm.org/D67428
This change was lost due to a file rename and modification.
llvm-svn: 371941
The file was modifiedcompiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/many_tls_keys_pthread.cpp
Commit 431141c5cc343c7601cbd5f30c5b34810b123e5c by sstipanovic
[Attributor] Heap-To-Stack Conversion
D53362 gives a prototype heap-to-stack conversion pass. With addition of
new attributes in the attributor, this can now be revisted and improved.
This will place it in the Attributor to make it easier to use new
attributes (eg. nofree, nosync, willreturn, etc.) and other attributor
features.
Reviewers: jdoerfert, uenoku, hfinkel, efriedma
Subscribers: lebedev.ri, xbolva00, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D65408
llvm-svn: 371942
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was addedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll

Summary

  1. [LNT] Python 3 support: Update `<>` and `None` comparisons Summary: Replaces comparisons using `!=`, `<>`, and `==` against `None` with the corresponding version of `is not None` and `is None`. Replaces `<>` with `!=`. As requested by reviewers, add spaces around operators on lines touched. Reviewers: cmatthews, thopre, kristof.beyls Reviewed By: thopre Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67535
  2. Subject: [LNT] Python 3 support: Update type comparisons and type names Summary: This patch is split out from D67535, updating type names (or, in one case, `type(1.4)`-style goodness) and updating type comparisons with use of `isinstance`. Additionally, changed a dictionary key lookup for a type mapping. As requested by reviewers in D67535, spaces are added after commas in what are now tuples of types. Reviewers: cmatthews, thopre, kristof.beyls Reviewed By: thopre Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67587
  3. [LNT] Python 3 support: Set up (client) setup requirements Summary: Changes required to allow setup of a LNT client with Python 3. - Use `PyModule_Create` instead of `Py_InitModule` - Drop `argparse` and `wsgiref` install requirements - Require Python 2.7 or higher in `setup.py`; Python 2.7 is needed for some Python 3 support idioms Reviewers: cmatthews, thopre, kristof.beyls Reviewed By: cmatthews Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67533
Revision 371945 by hubert.reinterpretcast:
[LNT] Python 3 support: Update `<>` and `None` comparisons

Summary:
Replaces comparisons using `!=`, `<>`, and `==` against `None` with the
corresponding version of `is not None` and `is None`.

Replaces `<>` with `!=`.

As requested by reviewers, add spaces around operators on lines touched.

Reviewers: cmatthews, thopre, kristof.beyls

Reviewed By: thopre

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67535
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/external/stats/pstat.pylnt/external/stats/pstat.py
The file was modified/lnt/trunk/lnt/external/stats/stats.pylnt/external/stats/stats.py
The file was modified/lnt/trunk/lnt/server/ui/filters.pylnt/server/ui/filters.py
The file was modified/lnt/trunk/tests/server/db/ImportV4TestSuiteInstance.pytests/server/db/ImportV4TestSuiteInstance.py
Revision 371944 by hubert.reinterpretcast:
Subject: [LNT] Python 3 support: Update type comparisons and type names

Summary:
This patch is split out from D67535, updating type names (or, in one
case, `type(1.4)`-style goodness) and updating type comparisons with use
of `isinstance`. Additionally, changed a dictionary key lookup for a
type mapping.

As requested by reviewers in D67535, spaces are added after commas in
what are now tuples of types.

Reviewers: cmatthews, thopre, kristof.beyls

Reviewed By: thopre

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67587
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/external/stats/pstat.pylnt/external/stats/pstat.py
The file was modified/lnt/trunk/lnt/external/stats/stats.pylnt/external/stats/stats.py
The file was modified/lnt/trunk/lnt/server/db/regression.pylnt/server/db/regression.py
The file was modified/lnt/trunk/lnt/server/ui/api.pylnt/server/ui/api.py
The file was modified/lnt/trunk/lnt/server/ui/app.pylnt/server/ui/app.py
The file was modified/lnt/trunk/lnt/tests/nt.pylnt/tests/nt.py
Revision 371943 by hubert.reinterpretcast:
[LNT] Python 3 support: Set up (client) setup requirements

Summary:
Changes required to allow setup of a LNT client with Python 3.

  - Use `PyModule_Create` instead of `Py_InitModule`
  - Drop `argparse` and `wsgiref` install requirements
  - Require Python 2.7 or higher in `setup.py`; Python 2.7 is needed for
    some Python 3 support idioms

Reviewers: cmatthews, thopre, kristof.beyls

Reviewed By: cmatthews

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67533
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/testing/profile/cPerf.cpplnt/testing/profile/cPerf.cpp
The file was modified/lnt/trunk/requirements.client.txtrequirements.client.txt
The file was modified/lnt/trunk/setup.pysetup.py