]> granicus.if.org Git - llvm/commit
[MCA] Fix MSVC 19.16 build with libc++
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 9 Aug 2019 12:41:24 +0000 (12:41 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 9 Aug 2019 12:41:24 +0000 (12:41 +0000)
commit58a44f9905b126a4417724c1f794d762a77752bf
treeaf94a9e45f12655bacdadd1104c0909957dd1154
parentccb1fe88ef0b96f6b2f3bf5fd07f4d60efdc42ee
[MCA] Fix MSVC 19.16 build with libc++

MSVC (19.16) wants to see the definition of Instruction in
`std::pair<unsigned, const Instruction &> SourceRef` to decide
if it is assignable.

Patch by Orivej Desh.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368436 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MCA/SourceMgr.h