HomePhabricator

[InstCombine] Remove unnecessary addres space check (NFC)

Authored by nikic on Jun 21 2021, 11:11 AM.

Description

[InstCombine] Remove unnecessary addres space check (NFC)

It's not possible to bitcast between different address spaces,
and this is ensured by the IR verifier. As such, this bitcast to
addrspacecast canonicalization can never be hit.

Details

Committed
nikicJun 21 2021, 11:11 AM
Parents
rGd9fe96fe264e: [OpaquePtr] Support opaque constant expression GEP
Branches
Unknown
Tags
Unknown