aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJames Newling <james.newling@gmail.com>2025-05-14 14:56:35 -0700
committerGitHub <noreply@github.com>2025-05-14 14:56:35 -0700
commit21f1a616d60934953de3f304aafcad968e770b0a (patch)
treee648ffc686f02837d2fa34f4468212b1e5b46775 /clang/lib/Frontend/CompilerInvocation.cpp
parent0dd2c9f7a3f42138da0b8ed4fea80470ea7a510f (diff)
downloadllvm-21f1a616d60934953de3f304aafcad968e770b0a.zip
llvm-21f1a616d60934953de3f304aafcad968e770b0a.tar.gz
llvm-21f1a616d60934953de3f304aafcad968e770b0a.tar.bz2
[mlir][vector] Additional transpose folding (#138347)
Fold transpose with unit-dimensions. Seen in the wild: ``` %0 = vector.transpose %arg, [0, 2, 1, 3] : vector<6x1x1x4xi8> to vector<6x1x1x4xi8> ``` This transpose can be folded because (1) it preserves the shape and (2) the shuffled dims are unit extent. Also addresses comment about static vs anonymous namespace: https://github.com/llvm/llvm-project/pull/135841#discussion_r2071869067 --------- Signed-off-by: James Newling <james.newling@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions