llvm-project/llvm/test/Transforms/Inline/always-inline-invalidate.ll
Arthur Eubanks 544a21566d [test] Make test added in D112473 check the IR
The test was intended to also check the IR to be empty.
2021-10-25 14:10:58 -07:00

9 lines
225 B
LLVM

; RUN: opt -passes='require<no-op-module>,always-inline' < %s 2>&1 -debug-pass-manager | FileCheck %s
; CHECK: Invalidating {{.*}} NoOpModuleAnalysis
; CHECK-NOT: @f
define internal void @f() alwaysinline {
unreachable
}