[PATCH] D16418: [opaque pointer types] [NFC] Add an explicit type argument to ConstantFoldLoadFromConstPtr.

Manuel Jacob via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 16:49:33 PST 2016


mjacob added inline comments.

================
Comment at: include/llvm/Analysis/ConstantFolding.h:98
@@ -97,3 +97,3 @@
 /// return null.
-Constant *ConstantFoldLoadFromConstPtr(Constant *C, const DataLayout &DL);
+Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, const DataLayout &DL);
 
----------------
It's not clear which type `Ty` refers to.


http://reviews.llvm.org/D16418





More information about the llvm-commits mailing list