HomePhabricator

[GVN] add early exit to ConstantFoldLoadThroughBitcast [NFC]

Authored by vtjnash on Nov 6 2019, 8:47 AM.

Description

[GVN] add early exit to ConstantFoldLoadThroughBitcast [NFC]

And adds some additional test coverage to ensure later commits don't
introduce regressions.

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

Details