Skip to content

Commit

Permalink
Integrate LLVM at 6d847b1aada50d59c3e29f2e7eff779c0ee8182c (#4073)
Browse files Browse the repository at this point in the history
Update LLVM to
llvm/llvm-project@6d847b1

TOSA Updates Summary:

1: [TOSA] Update tosa.transpose's perms as attributes
Update tosa.transpose's perms to attributes according to TOSA 1.0
Update LIT tests

2: [TOSA] Rename ReduceProd to ReduceProduct
Update ReduceProd name to ReduceProduct in align with TOSA 1.0 spec

3: [TOSA] Change PadOp's pad_const to rank 1
Require PadOp's pad_const to be rank 1 in align with TOSA 1.0 spec

4: [TOSA] Generate correct parameters for conv ops
Bug fix: According to TOSA spec
(https://www.mlplatform.org/tosa/tosa_spec.html#_conv2d), full height
and width values must be divisible by stride values. This commit adds
checks for that divisibility and modifies pad values and/or slices input
to generate TOSA-compliant parameters for convolution ops.

5: [TOSA] Update LIT tests and e2e results

---------

Signed-off-by: Vivek Khandelwal <[email protected]>
Co-authored-by: Justin Ngo <[email protected]>
  • Loading branch information
vivekkhandelwal1 and justin-ngo-arm authored Mar 5, 2025
1 parent 7b23a1f commit 602d068
Show file tree
Hide file tree
Showing 5 changed files with 333 additions and 235 deletions.
2 changes: 1 addition & 1 deletion externals/llvm-project
Submodule llvm-project updated 2821 files
Loading

0 comments on commit 602d068

Please sign in to comment.