Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/non-constant-vtable.ll
; RUN: opt -S -wholeprogramdevirt -pass-remarks=wholeprogramdevirt %s 2>&1 | FileCheck %s | ; RUN: opt -S -wholeprogramdevirt -whole-program-visibility -pass-remarks=wholeprogramdevirt %s 2>&1 | FileCheck %s | ||||
; CHECK-NOT: devirtualized call | ; CHECK-NOT: devirtualized call | ||||
target datalayout = "e-p:64:64" | target datalayout = "e-p:64:64" | ||||
target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||
@vt = global [1 x i8*] [i8* bitcast (void (i8*)* @vf to i8*)], !type !0 | @vt = global [1 x i8*] [i8* bitcast (void (i8*)* @vf to i8*)], !type !0 | ||||
Show All 23 Lines |