diff options
author | James Newling <james.newling@gmail.com> | 2025-04-11 07:13:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-11 15:13:03 +0100 |
commit | cd85f5dbdf135347a9912dde148ec9fd325ba8c1 (patch) | |
tree | 6ffe2d888a1f4b5971fb131334c5ae780b17f013 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | a9225251c43e84d2bef0528ac61e1abf9fadae50 (diff) | |
download | llvm-cd85f5dbdf135347a9912dde148ec9fd325ba8c1.zip llvm-cd85f5dbdf135347a9912dde148ec9fd325ba8c1.tar.gz llvm-cd85f5dbdf135347a9912dde148ec9fd325ba8c1.tar.bz2 |
[mlir] canonicalizer: shape_cast(poison) -> poison (#133988)
Based on the ShapeCastConstantFolder, this pattern replaces
%0 = ub.poison : vector<2x3xf32>
%1 = vector.shape_cast %0 vector<2x3xf32> to vector<6xf32>
with
%1 = ub.poison : vector<6xf32>
---------
Signed-off-by: James Newling <james.newling@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions