Skip to content

Commit b912eea

Browse files
svenvhsys-ce-bb
authored andcommitted
Remove Aligned 0 from tests (#3105)
After KhronosGroup/SPIRV-Tools#6027 spirv-val is now rejecting `Aligned 0` Memory Operands. This caused various tests to fail validation with a recent SPIRV-Tools version. Original commit: KhronosGroup/SPIRV-LLVM-Translator@ec5d4d6a5a6594d
1 parent f009df5 commit b912eea

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

llvm-spirv/test/OpLoopMergeNone.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
2 Label 20
4040
4 Variable 18 26 7
4141
4 Variable 18 27 7
42-
6 Load 9 21 7 2 0
42+
4 Load 9 21 7
4343
5 CompositeExtract 8 22 21 0
4444
5 ShiftLeftLogical 8 23 22 11
4545
5 ShiftRightArithmetic 8 24 23 11

llvm-spirv/test/composite_construct_struct.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
2 Label 21
3838
5 CompositeConstruct 11 22 16 17
3939
5 CompositeConstruct 12 23 20 22
40-
6 Load 5 24 3 2 0
40+
4 Load 5 24 3
4141
5 CompositeExtract 4 25 24 0
4242
5 ShiftLeftLogical 4 26 25 15
4343
5 ShiftRightArithmetic 4 27 26 15

llvm-spirv/test/composite_construct_vector.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3 FunctionParameter 10 2
3131

3232
2 Label 17
33-
6 Load 5 18 3 2 0
33+
4 Load 5 18 3
3434
5 CompositeExtract 4 19 18 0
3535
5 ShiftLeftLogical 4 20 19 12
3636
5 ShiftRightArithmetic 4 21 20 12

llvm-spirv/test/copy_object.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
3 FunctionParameter 9 2
2828

2929
2 Label 13
30-
6 Load 5 14 3 2 0
30+
4 Load 5 14 3
3131
5 CompositeExtract 4 15 14 0
3232
5 ShiftLeftLogical 4 16 15 11
3333
5 ShiftRightArithmetic 4 17 16 11

llvm-spirv/test/right_shift.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3 FunctionParameter 10 2
3232

3333
2 Label 17
34-
6 Load 5 18 3 2 0
34+
4 Load 5 18 3
3535
5 CompositeExtract 4 19 18 0
3636
5 ShiftRightArithmetic 4 20 19 12
3737
5 ShiftLeftLogical 4 21 20 25

llvm-spirv/test/selection_merge.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
2 Label 18
3737
4 Variable 16 27 7
38-
6 Load 8 19 6 2 0
38+
4 Load 8 19 6
3939
5 CompositeExtract 7 20 19 0
4040
5 ShiftLeftLogical 7 21 20 13
4141
5 ShiftRightArithmetic 7 22 21 13

llvm-spirv/test/vector_times_scalar.spt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
3 FunctionParameter 13 4
3535

3636
2 Label 17
37-
6 Load 8 18 6 2 0
37+
4 Load 8 18 6
3838
5 CompositeExtract 7 19 18 0
3939
5 ShiftLeftLogical 7 20 19 10
4040
5 ShiftRightArithmetic 7 21 20 10

0 commit comments

Comments
 (0)