diff --git a/compiler/tests/end_to_end_fixture/end_to_end_encrypted_tensor.yaml b/compiler/tests/end_to_end_fixture/end_to_end_encrypted_tensor.yaml index 7d64960a3..32df67930 100644 --- a/compiler/tests/end_to_end_fixture/end_to_end_encrypted_tensor.yaml +++ b/compiler/tests/end_to_end_fixture/end_to_end_encrypted_tensor.yaml @@ -91,6 +91,21 @@ tests: - tensor: [0, 2, 4, 6, 8] shape: [1,5] --- +description: extract_slice_negative_stride +program: | + func.func @main(%arg0: tensor<3x!FHE.eint<5>>) -> tensor<3x!FHE.eint<5>> { + %0 = tensor.extract_slice %arg0[2] [3] [-1] : tensor<3x!FHE.eint<5>> to tensor<3x!FHE.eint<5>> + return %0 : tensor<3x!FHE.eint<5>> + } +tests: + - inputs: + - tensor: [1, 2, 3] + shape: [3] + width: 8 + outputs: + - tensor: [3, 2, 1] + shape: [3] +--- description: insert_slice program: | func.func @main(%t0: tensor<2x10x!FHE.eint<6>>, %t1: tensor<2x2x!FHE.eint<6>>) -> tensor<2x10x!FHE.eint<6>> { diff --git a/llvm-project b/llvm-project index 2d3b5205f..2ab9e4aad 160000 --- a/llvm-project +++ b/llvm-project @@ -1 +1 @@ -Subproject commit 2d3b5205fadcc78727ecec9be9c90953a74d6126 +Subproject commit 2ab9e4aaddfa0208724ba25585a151cef80760fa