aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorCullen Rhodes <cullen.rhodes@arm.com>2024-06-24 08:36:06 +0100
committerGitHub <noreply@github.com>2024-06-24 08:36:06 +0100
commit9931ee61d99c101db653ae21706f1edce4b39781 (patch)
tree49b37158b8ceeeb16bdb8749db17cd003e4eff9d /clang/lib/Sema/SemaModule.cpp
parent45a7af7c993f66044a8492dce1d073380feafffc (diff)
downloadllvm-9931ee61d99c101db653ae21706f1edce4b39781.zip
llvm-9931ee61d99c101db653ae21706f1edce4b39781.tar.gz
llvm-9931ee61d99c101db653ae21706f1edce4b39781.tar.bz2
[mlir][vector] Fix FlattenGather for scalable vectors (#96074)
This pattern flattens vector.gather ops by unrolling the outermost dimension for rank > 2 vectors. There's two issues with this pattern for scalable vectors: 1. The unrolling doesn't take vscale into account. A constraint is added to disable this pattern for vectors with leading scalable dims. 2. The scalable dims are dropped when creating the new gather. Fixed by propagating the flags. Depends on #96049.
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions