Lines Matching refs:COMMON
1 ; RUN: opt -passes='loop-mssa(licm<allowspeculation>)' -S %s | FileCheck --check-prefixes=COMMON,SP…
2 ; RUN: opt -passes='loop-mssa(licm<no-allowspeculation>)' -S %s | FileCheck --check-prefixes=COMMON…
3 ; RUN: opt -passes='loop-mssa(lnicm<allowspeculation>)' -S %s | FileCheck --check-prefixes=COMMON,S…
4 …asses='loop-mssa(lnicm<no-allowspeculation>)' -S %s | FileCheck --check-prefixes=COMMON,SPEC_OFF %s
7 ; COMMON-LABEL: @test(
8 ; COMMON-NEXT: entry:
10 ; COMMON-NEXT: br label [[LOOP_HEADER:%.*]]
11 ; COMMON: loop.header:
12 ; COMMON-NEXT: [[IV:%.*]] = phi i32 [ 0, [[ENTRY:%.*]] ], [ [[IV_NEXT:%.*]], [[LOOP_LATCH:%.*]] ]
13 ; COMMON-NEXT: [[CMP:%.*]] = icmp ult i32 [[IV]], [[N:%.*]]
14 ; COMMON-NEXT: br i1 [[CMP]], label [[LOOP_LATCH]], label [[EXIT:%.*]]
15 ; COMMON: loop.latch:
17 ; COMMON-NEXT: [[GEP_IV:%.*]] = getelementptr i32, i32* [[GEP]], i32 [[IV]]
18 ; COMMON-NEXT: store i32 9999, i32* [[GEP_IV]], align 4
19 ; COMMON-NEXT: [[IV_NEXT]] = add i32 [[IV]], 1
20 ; COMMON-NEXT: br label [[LOOP_HEADER]]
21 ; COMMON: exit:
22 ; COMMON-NEXT: ret void