[PATCH] D27999: DAG: Add helper for testing constant values

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 14:49:39 PST 2016


RKSimon added a reviewer: RKSimon.
RKSimon added inline comments.


================
Comment at: include/llvm/CodeGen/SelectionDAG.h:1368
+
+  /// \returns true if \p V is any kind of constant or build_vector of
+  /// constants, int or float. If a vector, it may not necessarily be a splat.
----------------
Shouldn't that be \p N  ?


https://reviews.llvm.org/D27999





More information about the llvm-commits mailing list