xref: /minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-fixup-lea4.ll (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc; RUN: llc < %s -mcpu=atom -mtriple=x86_64-linux
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc%struct.ValueWrapper = type { double }
4*0a6a1f1dSLionel Sambuc%struct.ValueWrapper.6 = type { %struct.ValueWrapper.7 }
5*0a6a1f1dSLionel Sambuc%struct.ValueWrapper.7 = type { %struct.ValueWrapper.8 }
6*0a6a1f1dSLionel Sambuc%struct.ValueWrapper.8 = type { %struct.ValueWrapper }
7*0a6a1f1dSLionel Sambuc
8*0a6a1f1dSLionel Sambuc; Function Attrs: uwtable
9*0a6a1f1dSLionel Sambucdefine linkonce_odr void @_ZN12ValueWrapperIS_IS_IS_IdEEEEC2Ev(%struct.ValueWrapper.6* %this) unnamed_addr #0 align 2 {
10*0a6a1f1dSLionel Sambucentry:
11*0a6a1f1dSLionel Sambuc  %this.addr = alloca %struct.ValueWrapper.6*, align 8
12*0a6a1f1dSLionel Sambuc  store %struct.ValueWrapper.6* %this, %struct.ValueWrapper.6** %this.addr, align 8
13*0a6a1f1dSLionel Sambuc  %this1 = load %struct.ValueWrapper.6** %this.addr
14*0a6a1f1dSLionel Sambuc  %value = getelementptr inbounds %struct.ValueWrapper.6* %this1, i32 0, i32 0
15*0a6a1f1dSLionel Sambuc  call void @_ZN12ValueWrapperIS_IS_IdEEEC2Ev(%struct.ValueWrapper.7* %value)
16*0a6a1f1dSLionel Sambuc  ret void
17*0a6a1f1dSLionel Sambuc}
18*0a6a1f1dSLionel Sambuc
19*0a6a1f1dSLionel Sambuc; Function Attrs: uwtable
20*0a6a1f1dSLionel Sambucdeclare void @_ZN12ValueWrapperIS_IS_IdEEEC2Ev(%struct.ValueWrapper.7*) unnamed_addr #0 align 2
21*0a6a1f1dSLionel Sambuc
22*0a6a1f1dSLionel Sambucattributes #0 = { uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
23*0a6a1f1dSLionel Sambuc
24