Skip to content

Commit 0bb9c05

Browse files
committed
[LV] Extend FIXME in test add in 91ee1e3.
1 parent 91ee1e3 commit 0bb9c05

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

llvm/test/Transforms/LoopVectorize/runtime-check-small-clamped-bounds.ll

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
22
; RUN: opt -loop-vectorize -force-vector-width=2 -S %s | FileCheck %s
33

4-
; Tests where the indices of some accesses are clamped to a small value.
5-
; FIXME: At the moment, the runtime checks require that the indices do not wrap.
6-
; The clamped indices do wrap, so the vector loops are dead at the
7-
; moment.
4+
; Tests where the indices of some accesses are clamped to a small range.
5+
6+
; FIXME: At the moment, the runtime checks require that the indices do not wrap
7+
; and runtime checks are emitted to ensure that. The clamped indices do
8+
; wrap, so the vector loops are dead at the moment. But it is still
9+
; possible to compute the bounds of the accesses and generate proper
10+
; runtime checks.
811

912
; The relevant bounds for %gep.A are [%A, %A+4).
1013
define void @load_clamped_index(i32* %A, i32* %B, i32 %N) {

0 commit comments

Comments
 (0)