Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.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 { [0 x i8], [4 x i8*], [5 x i8] } { [0 x i8] zeroinitializer, [4 x i8*] [i8* null, i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [5 x i8] c"\01\00\00\00\01" }, !type [[T8:![0-9]+]] | ; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [0 x i8], [4 x i8*], [5 x i8] } { [0 x i8] zeroinitializer, [4 x i8*] [i8* null, i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [5 x i8] c"\01\00\00\00\01" }, !type [[T8:![0-9]+]] | ||||
@vt1 = constant [4 x i8*] [ | @vt1 = constant [4 x i8*] [ | ||||
i8* null, | i8* null, | ||||
i8* bitcast (i1 (i8*)* @vf0i1 to i8*), | i8* bitcast (i1 (i8*)* @vf0i1 to i8*), | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |