Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/ThinLTO/X86/devirt_alias.ll
; REQUIRES: x86-registered-target | ; REQUIRES: x86-registered-target | ||||
; Test index-based devirtualization when one copy is an alias. | ; Test index-based devirtualization when one copy is an alias. | ||||
; Generate unsplit module with summary for ThinLTO index-based WPD. | ; Generate unsplit module with summary for ThinLTO index-based WPD. | ||||
; RUN: opt -thinlto-bc -o %t3.o %s | ; RUN: opt -thinlto-bc -o %t3.o %s | ||||
; RUN: opt -thinlto-bc -o %t4.o %p/Inputs/devirt_alias.ll | ; RUN: opt -thinlto-bc -o %t4.o %p/Inputs/devirt_alias.ll | ||||
; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -pass-remarks=. \ | ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -pass-remarks=. \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -wholeprogramdevirt-print-index-based \ | ; RUN: -wholeprogramdevirt-print-index-based \ | ||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t3.o,test,px \ | ; RUN: -r=%t3.o,test,px \ | ||||
; RUN: -r=%t3.o,_ZTV1D, \ | ; RUN: -r=%t3.o,_ZTV1D, \ | ||||
; RUN: -r=%t3.o,_ZN1D1mEi, \ | ; RUN: -r=%t3.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ||||
; RUN: -r=%t4.o,_ZTV1D,px \ | ; RUN: -r=%t4.o,_ZTV1D,px \ | ||||
; RUN: -r=%t4.o,some_name,px \ | ; RUN: -r=%t4.o,some_name,px \ | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |