[PATCH] Teach ConstantFolding about address space pointer sizes

Eli Friedman eli.friedman at gmail.com
Thu Aug 15 20:10:58 PDT 2013


  Otherwise looks fine.


================
Comment at: lib/Analysis/ConstantFolding.cpp:1000
@@ -991,1 +999,3 @@
+      }
+    }
 
----------------
Isn't this missing some sort of address-space check?  You're building a bitcast between two pointer types.


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



More information about the llvm-commits mailing list