llvm/test/ThinLTO/X86/Inputs/module_asm2.ll
Eric Christopher 8c54b816e5 Temporarily revert "For X86-64 linux and PPC64 linux align int128 to 16 bytes."
until we can get better TargetMachine::isCompatibleDataLayout to compare - otherwise
we can't code generate existing bitcode without a string equality data layout.

This reverts commit r294702.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294709 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-10 04:35:32 +00:00

17 lines
466 B
LLVM

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 {
%1 = call i32 @func1() #1
%2 = call i32 @func2() #1
%3 = call i32 @func3() #1
%4 = call i32 @callglobalfunc() #1
%5 = call i32 @callweakfunc() #1
ret i32 %1
}
declare i32 @func1() #1
declare i32 @func2() #1
declare i32 @func3() #1
declare i32 @callglobalfunc() #1
declare i32 @callweakfunc() #1