aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2022-02-16 11:26:47 -0500
committerLei Zhang <antiagainst@google.com>2022-02-16 13:43:57 -0500
commite027c00821dda48d06cf73c6c16176fcb7b8adcb (patch)
tree16271ec01aaa55ec5b18f512d2bd515b10e1f9df /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent6f1ce046fdd02458fe2e3824b865ba4bdf129d67 (diff)
downloadllvm-e027c00821dda48d06cf73c6c16176fcb7b8adcb.zip
llvm-e027c00821dda48d06cf73c6c16176fcb7b8adcb.tar.gz
llvm-e027c00821dda48d06cf73c6c16176fcb7b8adcb.tar.bz2
[mlir][tensor] Add a pattern to split tensor.pad ops
This commit adds a pattern to wrap a tensor.pad op with an scf.if op to separate the cases where we don't need padding (all pad sizes are actually zeros) and where we indeed need padding. This pattern is meant to handle padding inside tiled loops. Under such cases the padding sizes typically depend on the loop induction variables. Splitting them would allow treating perfect tiles and edge tiles separately. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D117018
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions