1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio e6ecfd3ed6 [MCA] Don't assume that createMCInstrAnalysis() always returns a valid pointer.
Class InstrBuilder wrongly assumed that llvm targets were always able to return
a non-null pointer when createMCInstrAnalysis() was called on them.
This was causing crashes when simulating executions for targets that don't
provide an MCInstrAnalysis object.
This patch fixes the issue by making MCInstrAnalysis optional.

llvm-svn: 349352
2018-12-17 14:00:37 +00:00
..
Views [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
CMakeLists.txt [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
CodeRegion.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
CodeRegion.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.cpp [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
llvm-mca.cpp [MCA] Don't assume that createMCInstrAnalysis() always returns a valid pointer. 2018-12-17 14:00:37 +00:00
LLVMBuild.txt [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
PipelinePrinter.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
PipelinePrinter.h [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00