- Nov 23, 2016
-
-
Davide Italiano authored
Without this test, you can just remove the code fixing the switch to the first constant in ResolvedUndefs in and everything pass. This test, instead, fails with an assertion if the code is removed. Found while refactoring SCCP to integrate undef in the solver. llvm-svn: 287731
-
Rui Ueyama authored
It broke buildbots. llvm-svn: 287730
-
Eric Fiselier authored
Summary: The `max_size()` method of containers should respect both the allocator's reported `max_size` and the range of the `difference_type`. This patch makes all containers choose the smallest of those two values. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26885 llvm-svn: 287729
-
Eric Fiselier authored
llvm-svn: 287728
-
Rui Ueyama authored
llvm-svn: 287727
-
Rui Ueyama authored
In many sitautions, you just want to compute a hash for one chunk of data. This patch adds convenient functions for that purpose. Differential Revision: https://reviews.llvm.org/D26988 llvm-svn: 287726
-
Eugene Zelenko authored
[ADT] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes. Differential revision: https://reviews.llvm.org/D27001 llvm-svn: 287725
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D27009 llvm-svn: 287724
-
Rui Ueyama authored
llvm-svn: 287723
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D26999 llvm-svn: 287722
-
Justin Lebar authored
Summary: No need to copy the RPOT vector before using it. Switch from std::map to SmallDenseMap. Get rid of an unused variable (TempVisited). Get rid of a typedef, RNVector, which is now used only once. Differential Revision: https://reviews.llvm.org/D26997 llvm-svn: 287721
-
Justin Lebar authored
Summary: "addRequired" and "addPreserved" look very similar when squished up next to each other -- without the newline this code looked to me like it was addRequired'ing DominatorTreeWrapperPass twice. Reviewers: arsenm Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26996 llvm-svn: 287720
-
Justin Lebar authored
Reviewers: arsenm Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26995 llvm-svn: 287719
-
Justin Lebar authored
Reviewers: arsenm Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26994 llvm-svn: 287718
-
Justin Lebar authored
Summary: Reviewers: arsenm Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26993 llvm-svn: 287717
-
Justin Lebar authored
Summary: Lets us get rid of one member variable too. Reviewers: arsenm Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26992 llvm-svn: 287716
-
Justin Lebar authored
-lcudart_static doesn't work. We don't know why. llvm-svn: 287715
-
Rui Ueyama authored
llvm-svn: 287714
-
Richard Smith authored
complete a little more general; it is produced in other cases than the one that it previously talked about. llvm-svn: 287713
-
Sanjay Patel authored
llvm-svn: 287712
-
Rui Ueyama authored
Fixes PR31126. llvm-svn: 287711
-
Dehao Chen authored
If there is no debug info in the callee, inlining it will not help annotator. This avoids infinite loop as reported in PR/31119. llvm-svn: 287710
-
Davide Italiano authored
We visit and/or, we try to derive a lattice value for the instruction even if one of the operands is overdefined. If the non-overdefined value is still 'unknown' just return and wait for ResolvedUndefsIn to "plug in" the correct value. This simplifies the logic a bit. While I'm here add tests for missing cases. llvm-svn: 287709
-
Matthias Braun authored
TargetSubtargetInfo is filled with CodeGen specific interfaces nowadays (getInstrInfo(), getFrameLowering(), getSelectionDAGInfo()) most of the tuning flags like enablePostRAScheduler(), getAntiDepBreakMode(), enableRALocalReassignment(), ... also do not seem to be universal enough to make sense outside of CodeGen. Differential Revision: https://reviews.llvm.org/D26948 llvm-svn: 287708
-
Sanjay Patel authored
In PR27925: https://llvm.org/bugs/show_bug.cgi?id=27925 ...we proposed adding this fold to eliminate a bitcast. In D20774, there was some concern about changing the type of a bitwise op as well as creating bitcasts that might not be free for a target. However, if we're strictly eliminating an instruction (by limiting this to one-use ops), then we should be able to do this in InstCombine. But we're cautiously restricting the transform for now to vector types to avoid possible backend problems. A transform to make sure the logic op is legal for the target should be added to reverse this transform and improve codegen. Differential Revision: https://reviews.llvm.org/D26641 llvm-svn: 287707
-
Simon Pilgrim authored
llvm-svn: 287706
-
Chandler Carruth authored
No intended change, everything seems to be in working order already. llvm-svn: 287705
-
Rafael Espindola authored
llvm-svn: 287704
-
Tobias Grosser authored
Regular maintenance update with only minor changes. llvm-svn: 287703
-
Peter Collingbourne authored
llvm-svn: 287702
-
Rafael Espindola authored
llvm-svn: 287701
-
Vyacheslav Klochkov authored
Reviewer: Hal Finkel. Differential Revision: https://reviews.llvm.org/D26952 llvm-svn: 287700
-
Davide Italiano authored
Now that lld switched to lib/LTO, which always calls setDataLayout(), we don't need this check anymore. Thanks to Peter for pointing out! llvm-svn: 287699
-
Chandler Carruth authored
This mostly gives us nice unittesting of the predicates themselves. I'll start using them further in subsequent commits to help test the actual operations performed on the graph. llvm-svn: 287698
-
Rui Ueyama authored
PDBFileBuilder supports two different ways to create files. One is PDBFileBuilder::commit. That function takes a filename and write a result to the file. The other is PDBFileBuilder::build. That returns a new PDBFile object. This patch removes the latter because no one is using it and in a real life situation we are very unlikely to need it. Even if you need it, it'd be easy to write a new PDB to a memory buffer and read it back. Removing PDBFileBuilder::build enables us to remove other classes build transitively. Differential Revision: https://reviews.llvm.org/D26987 llvm-svn: 287697
-
Kuba Mracek authored
[sanitizer] Fix the dedup_token_length_test.cc testcase to not fail when user's home directory contains "bar" Differential Revision: https://reviews.llvm.org/D24605 llvm-svn: 287696
-
Vyacheslav Klochkov authored
Reviewer: Hal Finkel. Differential Revision: https://reviews.llvm.org/D26957 llvm-svn: 287695
-
Tobias Grosser authored
Introduce the new flag -polly-codegen-generate-expressions which forces Polly to code generate AST expressions instead of using our SCEV based access expression generation even for cases where the original memory access relation was not changed and the SCEV based access expression could be code generated without any issue. This is an experimental option for better testing the isl ast expression generation. The default behavior of Polly remains unchanged. We also exclude a couple of cases for which the AST expression is not yet working. llvm-svn: 287694
-
Eric Fiselier authored
Libc++ internal uses <atomic> in C++03 code but the module map forbids its use. This causes the libc++ 'std' module to fail to build in C++03. This patch removes the requirement to fix this issue. llvm-svn: 287693
-
Rui Ueyama authored
llvm-svn: 287692
-