[PATCH] D50338: ValueTracking: Start enhancing isKnownNeverNaN
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 9 13:17:50 PDT 2018
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Analysis/ValueTracking.cpp:2931
+
+ if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(V)) {
+ switch (II->getIntrinsicID()) {
----------------
It's ok to use "auto *" here:
http://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable
https://reviews.llvm.org/D50338
More information about the llvm-commits
mailing list