diff options
author | Thomas Raoux <thomasraoux@google.com> | 2020-07-01 17:08:08 -0700 |
---|---|---|
committer | Thomas Raoux <thomasraoux@google.com> | 2020-07-01 17:08:08 -0700 |
commit | 0670f855a7d8f48a86d67d83e6be45fab016f080 (patch) | |
tree | fe1a2e9e317e2187de095299b2281c2a152ea8a9 /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | |
parent | fbce9855e9d5483f724d231dd4ecc2b79807d217 (diff) | |
download | llvm-0670f855a7d8f48a86d67d83e6be45fab016f080.zip llvm-0670f855a7d8f48a86d67d83e6be45fab016f080.tar.gz llvm-0670f855a7d8f48a86d67d83e6be45fab016f080.tar.bz2 |
[mlir][spirv] Add support for lowering scf.for scf/if with return value
This allow lowering to support scf.for and scf.if with results. As right now
spv region operations don't have return value the results are demoted to
Function memory. We create one allocation per result right before the region
and store the yield values in it. Then we can load back the value from
allocation to be able to use the results.
Differential Revision: https://reviews.llvm.org/D82246
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions