summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2021-03-03 12:37:19 -0800
committerAart Bik <ajcbik@google.com>2021-03-03 17:38:22 -0800
commit553cb6d473c55556146e5c9cc9cd31af99ce99cb (patch)
treee5a642d0900283e47afc051e437bd4afa7afd243 /clang/lib/CodeGen/CodeGenModule.cpp
parentdbf41ddaa3200fc5b66a5694d84b322a26b13a5a (diff)
[mlir][sparse] fix bug in reduction chain
Found with exhaustive testing, it is possible that a while loop appears in between chainable for loops. As long as we don't scalarize reductions in while loops, this means we need to terminate the chain at the while. This also refactors the reduction code into more readable helper methods. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D97886
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions