Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/ThinLTO/X86/devirt_single_hybrid.ll
; Check that we import and inline virtual method with single implementation | ; Check that we import and inline virtual method with single implementation | ||||
; when we're running hybrid LTO. | ; when we're running hybrid LTO. | ||||
; | ; | ||||
; RUN: opt -thinlto-bc -thinlto-split-lto-unit %s -o %t-main.bc | ; RUN: opt -thinlto-bc -thinlto-split-lto-unit %s -o %t-main.bc | ||||
; RUN: opt -thinlto-bc -thinlto-split-lto-unit %p/Inputs/devirt_single_hybrid_foo.ll -o %t-foo.bc | ; RUN: opt -thinlto-bc -thinlto-split-lto-unit %p/Inputs/devirt_single_hybrid_foo.ll -o %t-foo.bc | ||||
; RUN: opt -thinlto-bc -thinlto-split-lto-unit %p/Inputs/devirt_single_hybrid_bar.ll -o %t-bar.bc | ; RUN: opt -thinlto-bc -thinlto-split-lto-unit %p/Inputs/devirt_single_hybrid_bar.ll -o %t-bar.bc | ||||
; RUN: llvm-lto2 run -save-temps %t-main.bc %t-foo.bc %t-bar.bc -pass-remarks=. -o %t \ | ; RUN: llvm-lto2 run -save-temps %t-main.bc %t-foo.bc %t-bar.bc -pass-remarks=. -o %t \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -r=%t-foo.bc,_Z3fooP1A,pl \ | ; RUN: -r=%t-foo.bc,_Z3fooP1A,pl \ | ||||
; RUN: -r=%t-main.bc,main,plx \ | ; RUN: -r=%t-main.bc,main,plx \ | ||||
; RUN: -r=%t-main.bc,_Z3barv,l \ | ; RUN: -r=%t-main.bc,_Z3barv,l \ | ||||
; RUN: -r=%t-bar.bc,_Z3barv,pl \ | ; RUN: -r=%t-bar.bc,_Z3barv,pl \ | ||||
; RUN: -r=%t-bar.bc,_Z3fooP1A, \ | ; RUN: -r=%t-bar.bc,_Z3fooP1A, \ | ||||
; RUN: -r=%t-bar.bc,_ZNK1A1fEv,pl \ | ; RUN: -r=%t-bar.bc,_ZNK1A1fEv,pl \ | ||||
; RUN: -r=%t-bar.bc,_ZTV1A,l \ | ; RUN: -r=%t-bar.bc,_ZTV1A,l \ | ||||
; RUN: -r=%t-bar.bc,_ZTVN10__cxxabiv117__class_type_infoE, \ | ; RUN: -r=%t-bar.bc,_ZTVN10__cxxabiv117__class_type_infoE, \ | ||||
Show All 40 Lines |