
The legacy PM is deprecated, so update a bunch of lit tests running opt to use the new PM syntax when specifying the pipeline.
13 lines
252 B
LLVM
13 lines
252 B
LLVM
; RUN: opt < %s -passes=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()
|