HomePhabricator

[X86] Add a pattern for (i64 (and (anyext def32:), 0x00000000FFFFFFFF)) to…

Description

[X86] Add a pattern for (i64 (and (anyext def32:), 0x00000000FFFFFFFF)) to produce SUBREG_TO_REG

def32 here means the producing instruction zeroed bits 63:32. We already do this for zext, but it looks like we can get an and+anyext sometimes.

Spotted in the diffs from D33587.

Details

Committed
ctopperJan 26 2019, 7:37 PM
Parents
rL352302: lld: elf: discard more specific .gnu.linkonce section
Branches
Unknown
Tags
Unknown