diff options
author | Vinayaka Bandishti <vinayaka@polymagelabs.com> | 2021-05-25 15:19:15 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2021-05-25 15:56:52 +0530 |
commit | eff269fc9f8b8c79e08e8295aa22da8950bcc341 (patch) | |
tree | c6507a3f860adb1299ee50ef84640a47ffaa6f10 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9ccdc2e23be18eca0b09f055fd17115c0366166c (diff) | |
download | llvm-eff269fc9f8b8c79e08e8295aa22da8950bcc341.zip llvm-eff269fc9f8b8c79e08e8295aa22da8950bcc341.tar.gz llvm-eff269fc9f8b8c79e08e8295aa22da8950bcc341.tar.bz2 |
[MLIR][Affine][LICM] Mark users of `iter_args` variant
Prevent users of `iter_args` of an affine for loop from being hoisted
out of it. Otherwise, LICM leads to a violation of the SSA dominance
(as demonstrated in the added test case).
Fixes: https://bugs.llvm.org/show_bug.cgi?id=50103
Reviewed By: bondhugula, ayzhuang
Differential Revision: https://reviews.llvm.org/D102984
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions