HomePhabricator

Fix MemoryLocation.h use without Instructions.h

Authored by sanwou01 on May 26 2020, 9:11 AM.

Description

Fix MemoryLocation.h use without Instructions.h

MemoryLocation.h was changed to only include Instruction.h. However,
cast<> still needs the full definiton, so move MemoryLocation::getOrNone
to the cpp file.

Details

Committed
sanwou01May 26 2020, 9:19 AM
Parents
rG50d4b22ca0dd: AMDGPU/GlobalISel: Fix assert on 16-bit G_EXTRACT results
Branches
Unknown
Tags
Unknown