Fix MemoryLocation.h use without Instructions.h
authorSanne Wouda <Sanne.Wouda@arm.com>
Tue, 26 May 2020 16:11:32 +0000 (17:11 +0100)
committerSanne Wouda <Sanne.Wouda@arm.com>
Tue, 26 May 2020 16:19:14 +0000 (17:19 +0100)
commit5bd97eb28aff252a3a9e8b0ef00d563b557f5580
treec14b4c8c060a58381d2ae4d18858d3a9c10e1f73
parent50d4b22ca0dd8f25a2ab2cb53a04627b2504ecfe
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.
llvm/include/llvm/Analysis/MemoryLocation.h
llvm/lib/Analysis/MemoryLocation.cpp