Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.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: devirt-single.cc:30:32: single-impl: devirtualized a call to vf | ; CHECK: remark: devirt-single.cc:30:32: single-impl: devirtualized a call to vf | ||||
; CHECK: remark: devirt-single.cc:13:0: devirtualized vf | ; CHECK: remark: devirt-single.cc:13:0: devirtualized vf | ||||
; CHECK-NOT: devirtualized | ; CHECK-NOT: devirtualized | ||||
Show All 38 Lines |