1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/test/ThinLTO/X86/Inputs/select_right_alias_definition2.ll
Mehdi Amini 8039b6b99a FunctionImport: make sure we always select the right callee in presence of alias
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266854
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
}