HomePhabricator

[InstCombine][ConstantFolding] Make ConstantFoldLoadThroughBitcast TypeSize…

Authored by peterwaller-arm on Oct 28 2021, 5:14 AM.

Description

[InstCombine][ConstantFolding] Make ConstantFoldLoadThroughBitcast TypeSize-aware

The newly added test previously caused the compiler to fail an
assertion. It looks like a strightforward TypeSize upgrade.

Reviewed By: paulwalker-arm

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