[PATCH] D19241: [DependenceAnalysis] Refactor uses of getConstantPart. NFC.

Brendon Cahoon via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 15:11:58 PDT 2016


bcahoon created this revision.
bcahoon added reviewers: sanjoy, llvm-commits.

Rather than checking for the SCEV type prior to calling getContantPart, perform the checks in the function. This reduces the number of places where the checks have been added.

This was a suggestion made during the review for http://reviews.llvm.org/D18718


http://reviews.llvm.org/D19241

Files:
  lib/Analysis/DependenceAnalysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19241.54122.patch
Type: text/x-patch
Size: 5050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160418/7ad7c606/attachment.bin>


More information about the llvm-commits mailing list