mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
22cb4eb850
A call site's use of a Value might not correspond to an argument operand but to a bundle operand. llvm-svn: 256326
13 lines
245 B
LLVM
13 lines
245 B
LLVM
; RUN: opt < %s -deadargelim -S | FileCheck %s
|
|
|
|
define internal void @f(i32 %arg) {
|
|
entry:
|
|
call void @g() [ "foo"(i32 %arg) ]
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: define internal void @f(
|
|
; CHECK: call void @g() [ "foo"(i32 %arg) ]
|
|
|
|
declare void @g()
|