Home | History | Annotate | Download | only in InstrProfiling
      1 ;; No instrumentation should be emitted if there are no counter increments.
      2 
      3 ; RUN: opt < %s -instrprof -S | FileCheck %s
      4 ; RUN: opt < %s -passes=instrprof -S | FileCheck %s
      5 ; CHECK-NOT: @__profc
      6 ; CHECK-NOT: @__profd
      7 ; CHECK-NOT: @__llvm_profile_runtime
      8 
      9 define void @foo() {
     10   ret void
     11 }
     12