diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2020-09-07 17:39:16 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2020-09-08 11:15:25 +0200 |
commit | 239eff502bca64f544f311e7d7a65fdec01cb9c4 (patch) | |
tree | 58fa1c3ce0b814470a44e33812328f9b1c48276e /clang/lib/Frontend | |
parent | 67b37f571cc27d5684125f694d719b114ad72a18 (diff) | |
download | llvm-239eff502bca64f544f311e7d7a65fdec01cb9c4.zip llvm-239eff502bca64f544f311e7d7a65fdec01cb9c4.tar.gz llvm-239eff502bca64f544f311e7d7a65fdec01cb9c4.tar.bz2 |
[mlir][VectorOps] Redo the scalar loop emission in VectoToSCF to pad instead of clipping
This replaces the select chain for edge-padding with an scf.if that
performs the memory operation when the index is in bounds and uses the
pad value when it's not. For transfer_write the same mechanism is used,
skipping the store when the index is out of bounds.
The integration test has a bunch of cases of how I believe this should
work.
Differential Revision: https://reviews.llvm.org/D87241
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions