[PATCH] D49168: [LV] Add a new reduction pattern match

Hideki Saito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 8 13:28:52 PDT 2018


hsaito added a comment.

Code looks good. Just a minor suggestion on the comment. Looking at the LIT test.



================
Comment at: lib/Analysis/IVDescriptors.cpp:503
 
+/// Returns true if the instruction has a following chain of instructions.
+/// %sum.1 = phi ...
----------------
where the Instruction argument I is the last select in the chain.


https://reviews.llvm.org/D49168





More information about the llvm-commits mailing list