projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add addrspacecast instruction.
[oota-llvm.git]
/
test
/
Assembler
/
ConstantExprFoldCast.ll
diff --git
a/test/Assembler/ConstantExprFoldCast.ll
b/test/Assembler/ConstantExprFoldCast.ll
index 0ce6e84626a316c4a726ac3bdb81fb20e3feac8b..161a4ca3575776579629413ea9b8acef26ea0104 100644
(file)
--- a/
test/Assembler/ConstantExprFoldCast.ll
+++ b/
test/Assembler/ConstantExprFoldCast.ll
@@
-12,3
+12,5
@@
@F = global i32* inttoptr (i32 add (i32 5, i32 -5) to i32*)
@G = global i32* inttoptr (i32 sub (i32 5, i32 5) to i32*)
+; Address space cast AS0 null-> AS1 null
+@H = global i32 addrspace(1)* addrspacecast(i32* null to i32 addrspace(1)*)