aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
diff options
context:
space:
mode:
authorYi Zhang <cathyzhyi@google.com>2022-04-18 20:50:30 -0400
committerYi Zhang <cathyzhyi@google.com>2022-04-22 17:48:24 -0400
commit1cddcfdc3c683b393df1a5c9063252eb60e52818 (patch)
tree650a8eb4334893fa2d0c63cad4259c99718b3173 /llvm/lib/CodeGen/ProcessImplicitDefs.cpp
parentada8973fbaeb3cfb6cab6c2377419d0a137f94bf (diff)
downloadllvm-1cddcfdc3c683b393df1a5c9063252eb60e52818.zip
llvm-1cddcfdc3c683b393df1a5c9063252eb60e52818.tar.gz
llvm-1cddcfdc3c683b393df1a5c9063252eb60e52818.tar.bz2
Fix CollapsedLayoutMap for dim size 1 case
This change fixes `CollapsedLayoutMap` for cases where the collapsed dims are size 1. The cases where inner most dims are size 1 and noncontiguous can be represented by the strided form and therefore can be allowed. For such cases, the new stride should be of the next entry in an association whose dimension is not size 1. If the next entry is dynamic, it's not possible to decide which stride to use at compilation time and the stride is set to dynamic. Differential Revision: https://reviews.llvm.org/D124137
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions