Make TargetInstrInfo::copyRegToReg return a bool indicating whether the copy requested
authorOwen Anderson <resistor@mac.com>
Tue, 26 Aug 2008 18:03:31 +0000 (18:03 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 26 Aug 2008 18:03:31 +0000 (18:03 +0000)
commit940f83e772ca2007d62faffc83094bd7e8da6401
tree694da4480cf7a13b73a4526ac7769da901b501e7
parenta0b3909d432e9f2c79aee8ec3133f9b9ec71dc1a
Make TargetInstrInfo::copyRegToReg return a bool indicating whether the copy requested
was inserted or not.  This allows bitcast in fast isel to properly handle the case
where an appropriate reg-to-reg copy is not available.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55375 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
lib/Target/Alpha/AlphaInstrInfo.cpp
lib/Target/Alpha/AlphaInstrInfo.h
lib/Target/CellSPU/SPUInstrInfo.cpp
lib/Target/CellSPU/SPUInstrInfo.h
lib/Target/IA64/IA64InstrInfo.cpp
lib/Target/IA64/IA64InstrInfo.h
lib/Target/Mips/MipsInstrInfo.cpp
lib/Target/Mips/MipsInstrInfo.h
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCInstrInfo.h
lib/Target/Sparc/SparcInstrInfo.cpp
lib/Target/Sparc/SparcInstrInfo.h
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h