summarylogtreecommitdiffstats
path: root/addrspacecast-in-constant.diff
diff options
context:
space:
mode:
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 000000000000..1a39e01fab9b
--- /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