aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorIvan Butygin <ivan.butygin@gmail.com>2024-02-13 15:30:58 +0300
committerGitHub <noreply@github.com>2024-02-13 15:30:58 +0300
commit35ef3994bf738318b59ce640910fb1ccd3bb7dcb (patch)
tree1ccb1ff0f15ba0b964a53bbd3c472975eaaefd69 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentbfc0b7c6891896ee8e9818f22800472510093864 (diff)
downloadllvm-35ef3994bf738318b59ce640910fb1ccd3bb7dcb.zip
llvm-35ef3994bf738318b59ce640910fb1ccd3bb7dcb.tar.gz
llvm-35ef3994bf738318b59ce640910fb1ccd3bb7dcb.tar.bz2
[mlir][vector] ND vectors linearization pass (#81159)
Common backends (LLVM, SPIR-V) only supports 1D vectors, LLVM conversion handles ND vectors (N >= 2) as `array<array<... vector>>` and SPIR-V conversion doesn't handle them at all at the moment. Sometimes it's preferable to treat multidim vectors as linearized 1D. Add pass to do this. Only constants and simple elementwise ops are supported for now. @krzysz00 I've extracted yours result type conversion code from LegalizeToF32 and moved it to common place. Also, add ConversionPattern class operating on traits.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions