diff options
author | Arnab Dutta <arnab@polymagelabs.com> | 2022-04-14 11:30:07 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2022-04-14 12:30:55 +0530 |
commit | 392d55c1e2d777e9843864e1022d476599334dc9 (patch) | |
tree | 59a649a9ec02a915cb7d144e9f80cc0473f64319 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | c36fbe05a719cd5c88b5f655f3d49d6b4e32ab51 (diff) | |
download | llvm-392d55c1e2d777e9843864e1022d476599334dc9.zip llvm-392d55c1e2d777e9843864e1022d476599334dc9.tar.gz llvm-392d55c1e2d777e9843864e1022d476599334dc9.tar.bz2 |
[MLIR][GPU] Add canonicalization patterns for folding simple gpu.wait ops.
* Fold away redundant %t = gpu.wait async + gpu.wait [%t] pairs.
* Fold away %t = gpu.wait async ... ops when %t has no uses.
* Fold away gpu.wait [] ops.
* In case of %t1 = gpu.wait async [%t0], replace all uses of %t1
with %t0.
Differential Revision: https://reviews.llvm.org/D121878
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions