HomePhabricator

[SCCP] Fold constants as we build them whne visiting cast instructions.

Authored by davide on Jul 8 2016, 12:13 PM.

Description

[SCCP] Fold constants as we build them whne visiting cast instructions.

This should be slightly more efficient and could avoid spurious overdefined
markings, as Eli pointed out.

Differential Revision: http://reviews.llvm.org/D22122

llvm-svn: 274905

Details