reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
; RUN: opt -S -mergefunc < %s | FileCheck %s

; CHECK-NOT: @b

@x = constant { void ()*, void ()* } { void ()* @a, void ()* @b }
; CHECK: { void ()* @a, void ()* @a }

define internal void @a() unnamed_addr {
  ret void
}

define internal void @b() unnamed_addr {
  ret void
}