File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
llvm/test/Transforms/LoopVectorize Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
2
; RUN: opt -loop-vectorize -force-vector-width=2 -S %s | FileCheck %s
3
3
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.
8
11
9
12
; The relevant bounds for %gep.A are [%A, %A+4).
10
13
define void @load_clamped_index (i32* %A , i32* %B , i32 %N ) {
You can’t perform that action at this time.
0 commit comments