Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
; REQUIRES: x86-registered-target | ; REQUIRES: x86-registered-target | ||||
; Test that index-based devirtualization in the presence of external | ; Test that index-based devirtualization in the presence of external | ||||
; vtables with the same name (with comdat) succeeds. | ; vtables with the same name (with comdat) succeeds. | ||||
; 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_external_comdat_same_guid.ll | ; RUN: opt -thinlto-bc -o %t4.o %p/Inputs/devirt_external_comdat_same_guid.ll | ||||
; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm -pass-remarks=. \ | ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm -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,use_B,px \ | ; RUN: -r=%t3.o,use_B,px \ | ||||
; RUN: -r=%t3.o,test,px \ | ; RUN: -r=%t3.o,test,px \ | ||||
; RUN: -r=%t3.o,_ZTV1B,px \ | ; RUN: -r=%t3.o,_ZTV1B,px \ | ||||
; RUN: -r=%t3.o,_ZN1B1fEi,px \ | ; RUN: -r=%t3.o,_ZN1B1fEi,px \ | ||||
; RUN: -r=%t3.o,_ZN1B1nEi,px \ | ; RUN: -r=%t3.o,_ZN1B1nEi,px \ | ||||
; RUN: -r=%t4.o,_ZTV1B,x \ | ; RUN: -r=%t4.o,_ZTV1B,x \ | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |