xref: /llvm-project/llvm/test/CodeGen/PowerPC/cfence-i128.ll (revision a2c0c4abff20f4a15e23ebc4e3f34cc59329a4aa)
1; REQUIRES: asserts
2; RUN: not --crash llc -verify-machineinstrs -mtriple=powerpc64-unknown-unknown \
3; RUN:   < %s 2>&1 | FileCheck %s
4
5declare void @llvm.ppc.sync()
6declare void @llvm.ppc.cfence.i128(i128)
7
8define void @test_cfence(i128 %src) {
9entry:
10  call void @llvm.ppc.sync()
11; CHECK: ExpandIntegerOperand Op{{.*}}llvm.ppc.cfence
12; CHECK: LLVM ERROR: Do not know how to expand this operator's operand!
13  call void @llvm.ppc.cfence.i128(i128 %src)
14  ret void
15}
16