aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorZhuoran Yin <zhuoryin@amd.com>2025-03-17 09:32:45 -0400
committerGitHub <noreply@github.com>2025-03-17 09:32:45 -0400
commit1e89a76a0490b6c55a3e46ecf967da3e30c9112b (patch)
treeac81a0fdd948cf27a3e3a441ceabbc841de6b7f7 /llvm/lib/FileCheck/FileCheck.cpp
parentb79d53caaad7a36b1f20c70ea777fa283d181652 (diff)
downloadllvm-1e89a76a0490b6c55a3e46ecf967da3e30c9112b.zip
llvm-1e89a76a0490b6c55a3e46ecf967da3e30c9112b.tar.gz
llvm-1e89a76a0490b6c55a3e46ecf967da3e30c9112b.tar.bz2
[MLIR] Refactor to create vectorization convOp precondition check (#130181)
In corner situations, the vectorization pass may face to lower a conv2d op and assert in a completely irrelevant location in vectorizeConvolution() subroutine. ~~This PR rejects the conv2d op early and make the asserted routine to return failure as a defensive workaround.~~ In addressing this, the PR moved all condition check away from the `Conv1dGenerator` into the `convOpPreconditionCheck()` function. This makes the unsupported ops such as conv2d to be rejected early and leave a cleaner `Conv1dGenerator` constructor.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions