Skip to content

Commit fbf29b2

Browse files
committed
move comment above in test file
Signed-off-by: Nathan Gauër <[email protected]>
1 parent 4568a24 commit fbf29b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/MachineVerifier/SPIRV/verifier-phi-duplicate-pred.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# REQUIRES: spirv-registered-target
33

44
# This should cleanly pass the machine verifier.
5+
# This test validates a subtle SPIR-V difference with PHI nodes:
6+
# It is valid to have the same predecessor present twice in the instruction,
7+
# as long as the associated value is the same.
58
---
69
# CHECK-LABEL: name: func0
710
# CHECK: %7:id = OpPhi %1, %5, %bb.1, %6, %bb.2
@@ -26,9 +29,6 @@ body: |
2629
OpBranch %bb.3
2730
2831
bb.3:
29-
# This test validates a subtle SPIR-V difference with PHI nodes:
30-
# It is valid to have the same predecessor present twice in the instruction,
31-
# as long as the associated value is the same.
3232
%7:id = OpPhi %1, %5, %bb.1, %6, %bb.2, %5, %bb.1
3333
...
3434
---

0 commit comments

Comments
 (0)