aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/cfence-i128.ll
blob: 6775415a0b423cd175e7ec9ce25e87a40e67eddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; REQUIRES: asserts
; RUN: not --crash llc -verify-machineinstrs -mtriple=powerpc64-unknown-unknown \
; RUN:   < %s 2>&1 | FileCheck %s

declare void @llvm.ppc.sync()
declare void @llvm.ppc.cfence.i128(i128)

define void @test_cfence(i128 %src) {
entry:
  call void @llvm.ppc.sync()
; CHECK: ExpandIntegerOperand Op{{.*}}llvm.ppc.cfence
; CHECK: LLVM ERROR: Do not know how to expand this operator's operand!
  call void @llvm.ppc.cfence.i128(i128 %src)
  ret void
}