summarylogtreecommitdiffstats
path: root/addrspacecast-in-constant.diff
diff options
context:
space:
mode:
authorJiachen Yang2015-06-13 23:06:23 +0900
committerJiachen Yang2015-06-13 23:06:23 +0900
commitc106a40e0e6f2fcc2abff925d937c3f4084d1c2f (patch)
tree56edb3ad368dc5591ebb1ace2b3d648905c5d621 /addrspacecast-in-constant.diff
downloadaur-c106a40e0e6f2fcc2abff925d937c3f4084d1c2f.tar.gz
init llvm-pypy-stm
Diffstat (limited to 'addrspacecast-in-constant.diff')
-rw-r--r--addrspacecast-in-constant.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/addrspacecast-in-constant.diff b/addrspacecast-in-constant.diff
new file mode 100644
index 00000000000..1a39e01fab9
--- /dev/null
+++ b/addrspacecast-in-constant.diff
@@ -0,0 +1,13 @@
+Index: lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+===================================================================
+--- lib/CodeGen/AsmPrinter/AsmPrinter.cpp (revision 201645)
++++ lib/CodeGen/AsmPrinter/AsmPrinter.cpp (working copy)
+@@ -1617,6 +1617,8 @@
+ Ctx);
+ }
+
++ case Instruction::AddrSpaceCast:
++ // XXX??? I *think* it is correct at least in PyPy's case
+ case Instruction::Trunc:
+ // We emit the value and depend on the assembler to truncate the generated
+ // expression properly. This is important for differences between