mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
11 lines
266 B
LLVM
11 lines
266 B
LLVM
|
;; No instrumentation should be emitted if there are no counter increments.
|
||
|
|
||
|
; RUN: opt < %s -instrprof -S | FileCheck %s
|
||
|
; CHECK-NOT: @__llvm_profile_counters
|
||
|
; CHECK-NOT: @__llvm_profile_data
|
||
|
; CHECK-NOT: @__llvm_profile_runtime
|
||
|
|
||
|
define void @foo() {
|
||
|
ret void
|
||
|
}
|