blob: 25566db9078b08a55d1c094b118747412a296c3c [file] [log] [blame]
Ulrich Weiganda9ac6d62016-04-04 12:45:44 +00001; Test (fast) serialization.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s --check-prefix=Z10
4; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196 | FileCheck %s --check-prefix=Z196
5; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=zEC12 | FileCheck %s --check-prefix=ZEC12
6; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s --check-prefix=Z13
7
8define void @test() {
9; Z10: bcr 15, %r0
10; Z196: bcr 14, %r0
11; ZEC12: bcr 14, %r0
12; Z13: bcr 14, %r0
13 fence seq_cst
14 ret void
15}
16