mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
ab043ff680
Essentially the same as the GEP change in r230786. A similar migration script can be used to update test cases, though a few more test case improvements/changes were required this time around: (r229269-r229278) import fileinput import sys import re pat = re.compile(r"((?:=|:|^)\s*load (?:atomic )?(?:volatile )?(.*?))(| addrspace\(\d+\) *)\*($| *(?:%|@|null|undef|blockaddress|getelementptr|addrspacecast|bitcast|inttoptr|\[\[[a-zA-Z]|\{\{).*$)") for line in sys.stdin: sys.stdout.write(re.sub(pat, r"\1, \2\3*\4", line)) Reviewers: rafael, dexonsmith, grosser Differential Revision: http://reviews.llvm.org/D7649 llvm-svn: 230794
24 lines
1.2 KiB
LLVM
24 lines
1.2 KiB
LLVM
; RUN: llc < %s -mcpu=atom -mtriple=x86_64-linux
|
|
|
|
%struct.ValueWrapper = type { double }
|
|
%struct.ValueWrapper.6 = type { %struct.ValueWrapper.7 }
|
|
%struct.ValueWrapper.7 = type { %struct.ValueWrapper.8 }
|
|
%struct.ValueWrapper.8 = type { %struct.ValueWrapper }
|
|
|
|
; Function Attrs: uwtable
|
|
define linkonce_odr void @_ZN12ValueWrapperIS_IS_IS_IdEEEEC2Ev(%struct.ValueWrapper.6* %this) unnamed_addr #0 align 2 {
|
|
entry:
|
|
%this.addr = alloca %struct.ValueWrapper.6*, align 8
|
|
store %struct.ValueWrapper.6* %this, %struct.ValueWrapper.6** %this.addr, align 8
|
|
%this1 = load %struct.ValueWrapper.6*, %struct.ValueWrapper.6** %this.addr
|
|
%value = getelementptr inbounds %struct.ValueWrapper.6, %struct.ValueWrapper.6* %this1, i32 0, i32 0
|
|
call void @_ZN12ValueWrapperIS_IS_IdEEEC2Ev(%struct.ValueWrapper.7* %value)
|
|
ret void
|
|
}
|
|
|
|
; Function Attrs: uwtable
|
|
declare void @_ZN12ValueWrapperIS_IS_IdEEEC2Ev(%struct.ValueWrapper.7*) unnamed_addr #0 align 2
|
|
|
|
attributes #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" }
|
|
|