llvm/test/ThinLTO/X86/Inputs/select_right_alias_definition2.ll
Mehdi Amini 7e57deb8cb FunctionImport: make sure we always select the right callee in presence of alias
From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266854 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-20 04:17:36 +00:00

7 lines
142 B
LLVM

@foo = alias i32 (...), bitcast (i32 ()* @foo2 to i32 (...)*)
define linkonce_odr i32 @foo2() {
%ret = add i32 42, 42
ret i32 %ret
}