aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorRob Suderman <suderman@google.com>2022-10-20 14:16:10 -0700
committerRob Suderman <suderman@google.com>2022-10-20 15:37:19 -0700
commit4309bb28ae77061d528b09dfe1c41335e92bc7a3 (patch)
tree3ab3d6d27fe380d9ff196facd82d4863748b343a /clang/lib/Sema/SemaInit.cpp
parent8c7a1f87617067bc23c2e0733fe5e3202e1d6e81 (diff)
downloadllvm-4309bb28ae77061d528b09dfe1c41335e92bc7a3.zip
llvm-4309bb28ae77061d528b09dfe1c41335e92bc7a3.tar.gz
llvm-4309bb28ae77061d528b09dfe1c41335e92bc7a3.tar.bz2
[mlir][tosa] Add broadcasting case for tosa.resize degenerate case
When the resize is ?x1x1x?, the tosa.resize operation broadcasts the input and (when quantized) applies a scaling factor. Updated the resize operation to not use a tensor.extract operation, instead broadcasting the only positional value as necessary. Moved the tosa.resize tests to their own mlir test due to increased complexity. Also corrected a bug where tosa.resize for bilinear-floating point was not applying the correct scaling. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D136299
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions