[PATCH] D50323: [GVNHoist] Prune out useless CHI insertions

Sebastian Pop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 11:34:29 PDT 2018


sebpop added a comment.

> A given instruction has always the same Value Number.

That is correct: the integer Number that GVN returns is the same for instructions that compute the same Values at run time.
Asking GVN to provide a number for a given instruction will result in the same integer.


https://reviews.llvm.org/D50323





More information about the llvm-commits mailing list