summaryrefslogtreecommitdiff
path: root/test/Transforms/DSAnalysis/simpletest.ll
blob: c82b38bbe9cbb925f96107198fe043cfea154d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -tddatastructure

implementation

int *%foo(int *%A, int **%B, int *%C, int **%D, int* %E) {
	%a = load int* %A
	%b = load int** %B

	store int* %C, int** %D

	ret int* %E
}