projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement address space attribute for LLVM pointer types. Address spaces are
[oota-llvm.git]
/
test
/
Assembler
/
2005-02-09-AsmWriterStoreBug.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as
2
3
; Ensure that the asm writer emits types before both operands of the
4
; store, even though they can be the same.
5
6
%RecTy = type %RecTy*
7
implementation
8
9
void %foo() {
10
%A = malloc %RecTy
11
%B = malloc %RecTy
12
store %RecTy %B, %RecTy %A ;; Both ops are the same
13
ret void
14
}