[llvm-mca] Fix how views are added to the InstructionTables.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 26 Mar 2018 14:25:52 +0000 (14:25 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 26 Mar 2018 14:25:52 +0000 (14:25 +0000)
commit5ffd2c3cfca82ecc7ab00b8e1b034a118ca5a27b
tree7b051e6b4ae65e930f5e77adbe002fd7272e9f1f
parent2455fef497a09cf358daf43ea910eb5a23542980
[llvm-mca] Fix how views are added to the InstructionTables.

This should fix the stack-use-after-scope reported by the asan buildbots after
revision 328493.

llvm-svn: 328499
llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s
llvm/tools/llvm-mca/InstructionTables.cpp
llvm/tools/llvm-mca/InstructionTables.h
llvm/tools/llvm-mca/llvm-mca.cpp