MachineSink: make shouldSink a TII target hook
authorFiona Glaser <escha@apple.com>
Tue, 29 Mar 2016 22:44:57 +0000 (22:44 +0000)
committerFiona Glaser <escha@apple.com>
Tue, 29 Mar 2016 22:44:57 +0000 (22:44 +0000)
commit44a2f7a298db043bad5305a138520ad7aa68a95c
tree0ca28b256763ec6adbd09568882fee341bb945d7
parent85fba393906dfa3e8e5da58b84dd7b242db22bbb
MachineSink: make shouldSink a TII target hook

Some targets may disagree on what they want sunk or not sunk,
so make this a target hook instead of hardcoded.

llvm-svn: 264799
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/MachineSink.cpp