aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Target.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2021-06-09 13:58:13 -0400
committerLei Zhang <antiagainst@google.com>2021-06-09 14:00:06 -0400
commit56f60a1ce7656654d4b2f0cc42b2c5a15653db83 (patch)
tree5de0d776dc377036457d27ff5fa49d182dd9f420 /llvm/lib/TextAPI/Target.cpp
parent64b2fb7967a749b83f59656f0cd2f4d00501efaa (diff)
downloadllvm-56f60a1ce7656654d4b2f0cc42b2c5a15653db83.zip
llvm-56f60a1ce7656654d4b2f0cc42b2c5a15653db83.tar.gz
llvm-56f60a1ce7656654d4b2f0cc42b2c5a15653db83.tar.bz2
[mlir][spirv] Use SingleBlock + NoTerminator for spv.module
This allows us to remove the `spv.mlir.endmodule` op and all the code associated with it. Along the way, tightened the APIs for `spv.module` a bit by removing some aliases. Now we use `getRegion` to get the only region, and `getBody` to get the region's only block. Reviewed By: mravishankar, hanchung Differential Revision: https://reviews.llvm.org/D103265
Diffstat (limited to 'llvm/lib/TextAPI/Target.cpp')
0 files changed, 0 insertions, 0 deletions