Replace TargetInstrInfo::isInvariantLoad and its target-specific
authorDan Gohman <gohman@apple.com>
Wed, 7 Oct 2009 17:38:06 +0000 (17:38 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 7 Oct 2009 17:38:06 +0000 (17:38 +0000)
commite33f44cfc547359bc28526e4c5e1852b600b4448
treed809153a8332a1292de9f01eb8cf5cfbead8297e
parent2dbc4c84f6de55deeea6631201c5df943d5327c0
Replace TargetInstrInfo::isInvariantLoad and its target-specific
implementations with a new MachineInstr::isInvariantLoad, which uses
MachineMemOperands and is target-independent. This brings MachineLICM
and other functionality to targets which previously lacked an
isInvariantLoad implementation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83475 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/MachineInstr.h
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/MachineLICM.cpp
lib/CodeGen/MachineSink.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/Target/SystemZ/SystemZInstrInfo.cpp
lib/Target/SystemZ/SystemZInstrInfo.h
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/XCore/XCoreInstrInfo.cpp
lib/Target/XCore/XCoreInstrInfo.h