|
10 | 10 | ; s0 += (1ULL << 62) + 1; |
11 | 11 | ; s1 += (1ULL << 62) + 2; |
12 | 12 | ; } |
13 | | -; FIXME: We cannot use inbounds on idx.0, idx.1 to infer no-wrap (and determine |
| 13 | +; We cannot use inbounds on idx.0, idx.1 to infer no-wrap (and determine |
14 | 14 | ; there are no dependences), as the pointers are not dereferenced in all loop iterations. |
15 | 15 | define void @test_inbounds_gep_used_in_predicated_block(ptr %A, i64 %n) { |
16 | 16 | ; CHECK-LABEL: 'test_inbounds_gep_used_in_predicated_block' |
@@ -68,9 +68,14 @@ define void @test_inbounds_gep_used_in_predicated_block_stored_value_operand(ptr |
68 | 68 | ; CHECK-NEXT: Dependences: |
69 | 69 | ; CHECK-NEXT: Run-time memory checks: |
70 | 70 | ; CHECK-NEXT: Grouped accesses: |
| 71 | +; CHECK-NEXT: Group GRP0: |
| 72 | +; CHECK-NEXT: (Low: %A High: (-4611686018427387705 + %A)) |
| 73 | +; CHECK-NEXT: Member: {%A,+,4611686018427387906}<%loop.header> |
| 74 | +; CHECK-NEXT: Member: {%A,+,4611686018427387905}<%loop.header> |
71 | 75 | ; CHECK-EMPTY: |
72 | 76 | ; CHECK-NEXT: Non vectorizable stores to invariant address were found in loop. |
73 | 77 | ; CHECK-NEXT: SCEV assumptions: |
| 78 | +; CHECK-NEXT: {%A,+,4611686018427387906}<%loop.header> Added Flags: <nusw> |
74 | 79 | ; CHECK-EMPTY: |
75 | 80 | ; CHECK-NEXT: Expressions re-written: |
76 | 81 | ; |
@@ -114,9 +119,14 @@ define void @test_inbounds_gep_used_in_predicated_block_non_memop_user(ptr %A, i |
114 | 119 | ; CHECK-NEXT: Dependences: |
115 | 120 | ; CHECK-NEXT: Run-time memory checks: |
116 | 121 | ; CHECK-NEXT: Grouped accesses: |
| 122 | +; CHECK-NEXT: Group GRP0: |
| 123 | +; CHECK-NEXT: (Low: %A High: (-4611686018427387705 + %A)) |
| 124 | +; CHECK-NEXT: Member: {%A,+,4611686018427387906}<%loop.header> |
| 125 | +; CHECK-NEXT: Member: {%A,+,4611686018427387905}<%loop.header> |
117 | 126 | ; CHECK-EMPTY: |
118 | 127 | ; CHECK-NEXT: Non vectorizable stores to invariant address were not found in loop. |
119 | 128 | ; CHECK-NEXT: SCEV assumptions: |
| 129 | +; CHECK-NEXT: {%A,+,4611686018427387906}<%loop.header> Added Flags: <nusw> |
120 | 130 | ; CHECK-EMPTY: |
121 | 131 | ; CHECK-NEXT: Expressions re-written: |
122 | 132 | ; |
|
0 commit comments