HomePhabricator

[VNCoercion] avoid creating bitcast for zero offsets [NFCI]

Authored by vtjnash on Nov 6 2019, 9:00 AM.

Description

[VNCoercion] avoid creating bitcast for zero offsets [NFCI]

This could previously make it more complicated for ConstantFolding
later, leading to a higher likelyhood it would have to reject the
expression, even though zero seems like probably the common case here.

Differential Revision: https://reviews.llvm.org/D59730