|
1 | | -; Check that Tapir lowering to the Cilk or CilkR targets will decorate |
| 1 | +; Check that Tapir lowering to the Cilk or OpenCilk targets will decorate |
2 | 2 | ; functions that can be stolen with the "stealable" attribute. |
3 | 3 | ; |
4 | 4 | ; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=cilk -simplifycfg -instcombine -S | FileCheck %s --check-prefix=LOWERING |
5 | | -; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=cilkr -simplifycfg -instcombine -S | FileCheck %s --check-prefix=LOWERING |
6 | | -; RUN: opt < %s -passes='loop-spawning,function(simplify-cfg,instcombine),tapir2target,function(simplify-cfg,instcombine)' -tapir-target=cilkr -instcombine -S | FileCheck %s --check-prefix=LOWERING |
| 5 | +; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=opencilk -simplifycfg -instcombine -S | FileCheck %s --check-prefix=LOWERING |
| 6 | +; RUN: opt < %s -passes='loop-spawning,function(simplify-cfg,instcombine),tapir2target,function(simplify-cfg,instcombine)' -tapir-target=opencilk -instcombine -S | FileCheck %s --check-prefix=LOWERING |
7 | 7 | ; |
8 | 8 | ; Check that the X86 assembly produced for stealable functions does |
9 | 9 | ; not index stack variables using %rsp. |
10 | 10 | ; |
11 | 11 | ; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=cilk -simplifycfg -instcombine | llc -O3 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=ASM |
12 | | -; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=cilkr -simplifycfg -instcombine | llc -O3 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=ASM |
13 | | -; RUN: opt < %s -passes='loop-spawning,function(simplify-cfg,instcombine),tapir2target,function(simplify-cfg,instcombine)' -tapir-target=cilkr | llc -O3 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=ASM |
| 12 | +; RUN: opt < %s -loop-spawning-ti -simplifycfg -instcombine -tapir2target -tapir-target=opencilk -simplifycfg -instcombine | llc -O3 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=ASM |
| 13 | +; RUN: opt < %s -passes='loop-spawning,function(simplify-cfg,instcombine),tapir2target,function(simplify-cfg,instcombine)' -tapir-target=opencilk | llc -O3 -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=ASM |
14 | 14 |
|
15 | 15 | %class._point3d = type { double, double, double } |
16 | 16 | %struct.vertex.29 = type { i32, %class._point3d, [1 x %struct.vertex.29*] } |
|
0 commit comments