[PATCH] D16144: NFC. Move getAlignment helper function from ValueTracking to Value class.

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 12:24:39 PST 2016


reames added a comment.

Why do you want to move this?  It doesn't seem like an obvious place for this.  Not saying no, just trying to understand the motivation.


================
Comment at: include/llvm/IR/Value.h:501
@@ -500,1 +500,3 @@
 
+  unsigned getPointerAlignment(const DataLayout &DL) const;
+
----------------
Documentation?


http://reviews.llvm.org/D16144





More information about the llvm-commits mailing list