aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorSean Silva <silvasean@google.com>2020-11-03 18:17:55 -0800
committerSean Silva <silvasean@google.com>2020-11-10 13:44:44 -0800
commitb4fa28b408662a638f7d835b302db08633ccb91e (patch)
tree58859120aec45aa5983f7081669afe09cf1fa1e8 /llvm/lib/CodeGen/SafeStack.cpp
parent8262e94a6da77e176dbd13d9eadce76da74489d4 (diff)
downloadllvm-b4fa28b408662a638f7d835b302db08633ccb91e.zip
llvm-b4fa28b408662a638f7d835b302db08633ccb91e.tar.gz
llvm-b4fa28b408662a638f7d835b302db08633ccb91e.tar.bz2
[mlir] Add ElementwiseMappable trait and apply it to std elementwise ops.
This patch adds an `ElementwiseMappable` trait as discussed in the RFC here: https://llvm.discourse.group/t/rfc-std-elementwise-ops-on-tensors/2113/23 This trait can power a number of transformations and analyses. A subsequent patch adds a convert-elementwise-to-linalg pass exhibits how this trait allows writing generic transformations. See https://reviews.llvm.org/D90354 for that patch. This trait slightly changes some verifier messages, but the diagnostics are usually about as good. I fiddled with the ordering of the trait in the .td file trait lists to minimize the changes here. Differential Revision: https://reviews.llvm.org/D90731
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions