OSDN Git Service

CodeGen: Add a stand-alone hazard recognizer pass
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Apr 2016 14:43:50 +0000 (14:43 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Apr 2016 14:43:50 +0000 (14:43 +0000)
commitfbbc621bb4199c3b5e397ca082d58e4463185a6f
tree20e582ded6bd9fef6733ba8350e655d7cc0424af
parenta796450d3d34c5cc6399ddb626c6e158f615b163
CodeGen: Add a stand-alone hazard recognizer pass

Summary:
This new pass allows targets to use the hazard recognizer without having
to also run one of the schedulers.  This is useful when compiling with
optimizations disabled for targets that still need noop hazards
to be handled correctly.

Reviewers: hfinkel, atrick

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D18594

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267156 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
include/llvm/CodeGen/ScheduleHazardRecognizer.h
include/llvm/InitializePasses.h
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGen.cpp
lib/CodeGen/PostRAHazardRecognizer.cpp [new file with mode: 0644]