- Jan 17, 2017
-
-
David Blaikie authored
Here we define the `graph` subcommand which generates a graph from the function call information and uses it to present the call information graphically with additional annotations. Reviewers: dblaikie, dberris Differential Revision: https://reviews.llvm.org/D27243 llvm-svn: 292156
-
David Blaikie authored
Attempt to workaround MSVC build issue where I suspect an enum class constant 0 is considered a possible null pointer I can't reproduce this so far with web compilers, so throwing this at the bots to see if it sticks. llvm-svn: 292155
-
Tony Jiang authored
Generally, the ISEL is expanded into if-then-else sequence, in some cases (like when the destination register is the same with the true or false value register), it may just be expanded into just the if or else sequence. llvm-svn: 292154
-
Sanjay Patel authored
It's not clear what 'First' and 'Second' mean, so use 'Inner' and 'Outer' to match foldShiftedShift() and add comments with formulas, so it's easier to see what's going on. llvm-svn: 292153
-
Eric Fiselier authored
llvm-svn: 292152
-
Sanjay Patel authored
Some existing 'FIXME' tests are still not folded because of splat holes in value tracking. llvm-svn: 292151
-
Sanjay Patel authored
The shift-shift possibilities became easier to see after: https://reviews.llvm.org/rL292145 llvm-svn: 292150
-
David Blaikie authored
llvm-svn: 292149
-
Justin Lebar authored
Fixes: Warning, treated as error: /home/buildbot/llvm-build-dir/llvm-sphinx-docs/llvm/src/docs/NVPTXUsage.rst:333: ERROR: Error in "code-block" directive: maximum 1 argument(s) allowed, 17 supplied. llvm-svn: 292148
-
Tobias Grosser authored
This feature is currently not supported and an explicit assert to prevent the introduction of such accesses has been added in r282893. This test case allows to reproduce the assert (and without the assert the miscompile) added in r282893. It will help when adding such support at some point. llvm-svn: 292147
-
Rafael Espindola authored
LLD exports symbols that are also present in used shared libraries to make sure they are preempted at runtime. That is a reasonable default, but we must allow for it to be overwritten with linker script. If we don't, libraries that expect to be able to hide a c++ delete operator will fail. This should fix the firebird build. llvm-svn: 292146
-
Sanjay Patel authored
Reduces code duplication and makes it easier to extend these folds for vectors. llvm-svn: 292145
-
Simon Pilgrim authored
[InstCombine][SSE] Tests showing missed opportunities to pass demanded elts through a packss/packus truncation llvm-svn: 292144
-
Pavel Labath authored
std::to_string is not available in the android ndk. Using llvm::to_string instead. Committing as obvious. llvm-svn: 292143
-
Chad Rosier authored
Falkor only partially implements the ARMv8.1a extensions, so this patch refactors the support for the SQRDML[A|S]H instruction into a separate feature. Differential Revision: https://reviews.llvm.org/D28681 llvm-svn: 292142
-
- Jan 16, 2017
-
-
Pavel Labath authored
std::to_string is not available in the android NDK. Use llvm::to_string instead. Committing as obvious. llvm-svn: 292141
-
Tobias Grosser authored
Before this change, this code has been mixed with a check for non-affine loops (and when originally introduce was also duplicated). By creating a separate loop and explicitly documenting this property, the current behavior becomes a lot more clear. llvm-svn: 292140
-
Tobias Grosser authored
llvm-svn: 292139
-
Tobias Grosser authored
The loop body in buildAliasGroups is still too large to easily scan it. Hence, we split the loop body out into a separate function to improve readability. llvm-svn: 292138
-
Tobias Grosser authored
Instead of modifying the original alias group and repurposing it as read-write access group when splitting accesses in read-only and read-write accesses, we just keep all three groups: the original alias group, the set of read-only accesses and the set of read-write accesses. This allows us to remove some complicated iterator handling and also allows for more code-reuse in calculateMinMaxAccess. llvm-svn: 292137
-
Daniel Sanders authored
Several buildbots encountered a crash in tablegen when building this commit. Reverting while I investigate the cause. llvm-svn: 292136
-
Marshall Clow authored
Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. llvm-svn: 292135
-
Arpith Chacko Jacob authored
This patch refactors code that calls codegen for target regions. Currently the codebase only supports the 'target' directive. The patch pulls out common target processing code into a static function that can be called by codegen for any target directive. Reviewers: ABataev Differential Revision: https://reviews.llvm.org/D28752 llvm-svn: 292134
-
Hal Finkel authored
When transferring affected values in the cache from an old value, identified by the value of the current callback, to the specified new value we might need to insert a new entry into the DenseMap which constitutes the cache. Doing so might delete the current callback object. Move the copying logic into a new function, a member of the assumption cache itself, so that we don't run into UB should the callback handle itself be removed mid-copy. Differential Revision: https://reviews.llvm.org/D28749 llvm-svn: 292133
-
Daniel Sanders authored
Summary: Adds a RegisterBank tablegen class that can be used to declare the register banks and an associated tablegen pass to generate the necessary code. Reviewers: t.p.northover, ab, rovka, qcolombet Subscribers: aditya_nandakumar, rengolin, kristof.beyls, vkalintiris, mgorny, dberris, llvm-commits, rovka Differential Revision: https://reviews.llvm.org/D27338 llvm-svn: 292132
-
Tony Jiang authored
This reverts commit 1d0e0374438ca6e153844c683826ba9b82486bb1. llvm-svn: 292131
-
Simon Pilgrim authored
llvm-svn: 292130
-
Tony Jiang authored
Generally, the ISEL is expanded into if-then-else sequence, in some cases (like when the destination register is the same with the true or false value register), it may just be expanded into just the if or else sequence. llvm-svn: 292128
-
NAKAMURA Takumi authored
llvm-svn: 292127
-
Tobias Grosser authored
It seems over time we added an additional map that maps from the base address of a read-only access to the actual access. However this map is never used. Drop the creation and use of this map to simplify our alias check generation code. llvm-svn: 292126
-
Tobias Grosser authored
The alias group will anyhow be cleared at the end of this function and is not used afterwards. We avoid an explicit clear() call at multiple places to improve readability of this code. llvm-svn: 292125
-
Tobias Grosser authored
llvm-svn: 292124
-
Tobias Grosser authored
llvm-svn: 292123
-
Tobias Grosser authored
Hoisting small vectors out of a loop seems to be a pure performance optimization, which is unlikely to have great impact in practice. As this hoisting just increases code-complexity, we fold the SmallVectors back into the loop. In subsequent commits, we will further simplify and structure this code, but we committed this change separately to provide an explanation to make clear that we purposefully reverted this optimization. llvm-svn: 292122
-
Tobias Grosser authored
The function buildAliasGroups got very large. We extract out the splitting of alias groups to reduce its size and to better document the current behavior. llvm-svn: 292121
-
Tobias Grosser authored
The function buildAliasGroups got very large. We extract out the actual construction of alias groups to reduce its size and to better document the current behavior. llvm-svn: 292120
-
Joerg Sonnenberger authored
seems to have been a C&P error from old GCC specs for OpenBSD. llvm-svn: 292119
-
Simon Pilgrim authored
llvm-svn: 292118
-
Simon Dardis authored
Permit explicit $fcc<X> operand in c.cond.fmt instruction. Add c.cond.fmt to the MIPS to microMIPS instruction mapping table. Check that $fcc1 - $fcc7 are unusable for MIPS-I to MIPS-III for c.cond.fmt, bc1t, bc1f. Reviewers: seanbruno, zoran.jovanovic, vkalintiris Differential Revision: https://reviews.llvm.org/D24510 llvm-svn: 292117
-
Daniel Jasper authored
llvm-svn: 292116
-