Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
; RUN: opt -S -wholeprogramdevirt %s | FileCheck %s | ; RUN: opt -S -wholeprogramdevirt -whole-program-visibility %s | FileCheck %s | ||||
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" | ||||
; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\01\01\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [0 x i8] zeroinitializer }, section "vt1sec", !type [[T8:![0-9]+]] | ; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\01\01\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [0 x i8] zeroinitializer }, section "vt1sec", !type [[T8:![0-9]+]] | ||||
@vt1 = constant [3 x i8*] [ | @vt1 = constant [3 x i8*] [ | ||||
i8* bitcast (i1 (i8*)* @vf0i1 to i8*), | i8* bitcast (i1 (i8*)* @vf0i1 to i8*), | ||||
i8* bitcast (i1 (i8*)* @vf1i1 to i8*), | i8* bitcast (i1 (i8*)* @vf1i1 to i8*), | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |