xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2008-04-24-MemCpyBug.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 | not grep 120
2*9880d681SAndroid Build Coastguard Worker; Don't accidentally add the offset twice for trailing bytes.
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker	%struct.S63 = type { [63 x i8] }
5*9880d681SAndroid Build Coastguard Worker@g1s63 = external global %struct.S63		; <%struct.S63*> [#uses=1]
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workerdeclare void @test63(%struct.S63* byval align 4 ) nounwind
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workerdefine void @testit63_entry_2E_ce() nounwind  {
10*9880d681SAndroid Build Coastguard Worker	tail call void @test63( %struct.S63* byval align 4  @g1s63 ) nounwind
11*9880d681SAndroid Build Coastguard Worker	ret void
12*9880d681SAndroid Build Coastguard Worker}
13