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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 20:52:26 PST 2016


arsenm closed this revision.
arsenm 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.
----------------
RKSimon wrote:
> Shouldn't that be \p N  ?
Yes, fixed


https://reviews.llvm.org/D27999





More information about the llvm-commits mailing list