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)
commitee34680bb0fcf23818c2baa0a62c9e4aa3011adb
treed8233a76a3b6d122acc45cde5c1471bbbc7806ee
parentbee3c88ec6e56308acaf051c6be946db13594796
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

llvm-svn: 267156
llvm/include/llvm/CodeGen/Passes.h
llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/CodeGen.cpp
llvm/lib/CodeGen/PostRAHazardRecognizer.cpp [new file with mode: 0644]