[PATCH] Fix assert with copy from global through addrspacecast

Michele Scandale michele.scandale at gmail.com
Mon Nov 18 03:33:10 PST 2013



================
Comment at: lib/IR/Constants.cpp:1510
@@ +1509,3 @@
+  return getBitCast(S, Ty);
+}
+
----------------
Maybe this function can be fused within getPointerCast in order to support there the case of pointers with different address spaces.


http://llvm-reviews.chandlerc.com/D2205



More information about the llvm-commits mailing list