Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/Transforms/LoopDistribute/basic.ll @ 221:79ff65ed7e25
LLVM12 Original
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Jun 2021 19:15:29 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
220:42394fc6a535 | 221:79ff65ed7e25 |
---|---|
1 ; RUN: opt -basicaa -loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info -S \ | 1 ; RUN: opt -basic-aa -loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info -S \ |
2 ; RUN: < %s | FileCheck %s | 2 ; RUN: < %s | FileCheck %s |
3 | 3 |
4 ; RUN: opt -basicaa -loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info \ | 4 ; RUN: opt -basic-aa -loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info \ |
5 ; RUN: -loop-accesses -analyze < %s | FileCheck %s --check-prefix=ANALYSIS | 5 ; RUN: -loop-accesses -analyze < %s -enable-new-pm=0 | FileCheck %s --check-prefix=ANALYSIS |
6 | 6 |
7 ; RUN: opt -basicaa -loop-distribute -enable-loop-distribute -loop-vectorize -force-vector-width=4 -S \ | 7 ; TODO: the following changes the order loop-access printing prints loops, remove legacy RUN and change after NPM switch |
8 ; TODO: opt -aa-pipeline=basic-aa -passes='loop-distribute,print-access-info' -enable-loop-distribute \ | |
9 ; TODO: -verify-loop-info -verify-dom-info -disable-output < %s 2>&1 | FileCheck %s --check-prefix=ANALYSIS | |
10 | |
11 ; RUN: opt -basic-aa -loop-distribute -enable-loop-distribute -loop-vectorize -force-vector-width=4 -S \ | |
8 ; RUN: < %s | FileCheck %s --check-prefix=VECTORIZE | 12 ; RUN: < %s | FileCheck %s --check-prefix=VECTORIZE |
9 | 13 |
10 ; We should distribute this loop into a safe (2nd statement) and unsafe loop | 14 ; We should distribute this loop into a safe (2nd statement) and unsafe loop |
11 ; (1st statement): | 15 ; (1st statement): |
12 ; for (i = 0; i < n; i++) { | 16 ; for (i = 0; i < n; i++) { |