aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-09-07 17:39:16 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2020-09-08 11:15:25 +0200
commit239eff502bca64f544f311e7d7a65fdec01cb9c4 (patch)
tree58fa1c3ce0b814470a44e33812328f9b1c48276e /clang/lib/Frontend
parent67b37f571cc27d5684125f694d719b114ad72a18 (diff)
downloadllvm-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