aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/invalid-operand-bundle-call.ll
blob: 17065a4a61c2c549b18b00c4e9b37e3b576fea7b (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: not llc -mtriple=x86_64-unknown-linux-gnu < %s 2>&1 | FileCheck %s

; CHECK: LLVM ERROR: cannot lower calls with arbitrary operand bundles: foo, bar, baz

declare void @g()

define void @f(i32 %arg) {
  call void @g() [ "foo"(i32 %arg), "bar"(i32 %arg), "baz"(i32 %arg) ]
  ret void
}