Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.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 | ||||
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: remark: <unknown>:0:0: virtual-const-prop: devirtualized a call to vf1i32 | ; CHECK: remark: <unknown>:0:0: virtual-const-prop: devirtualized a call to vf1i32 | ||||
; CHECK: remark: <unknown>:0:0: virtual-const-prop-1-bit: devirtualized a call to vf1i1 | ; CHECK: remark: <unknown>:0:0: virtual-const-prop-1-bit: devirtualized a call to vf1i1 | ||||
; CHECK: remark: <unknown>:0:0: virtual-const-prop-1-bit: devirtualized a call to vf0i1 | ; CHECK: remark: <unknown>:0:0: virtual-const-prop-1-bit: devirtualized a call to vf0i1 | ||||
; CHECK: remark: <unknown>:0:0: devirtualized vf0i1 | ; CHECK: remark: <unknown>:0:0: devirtualized vf0i1 | ||||
▲ Show 20 Lines • Show All 138 Lines • Show Last 20 Lines |