Make LiveVariables even more optional, by making it optional in the call to TargetIns...
authorOwen Anderson <resistor@mac.com>
Wed, 2 Jul 2008 23:41:07 +0000 (23:41 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 2 Jul 2008 23:41:07 +0000 (23:41 +0000)
commitf660c171c838793b87b7e58e91609cecf256378d
tree00033566da5e0a30f9e67bd56e9a124ccceabfb7
parentcd920d9ecfcefff13c3619a32b58399cac2e3630
Make LiveVariables even more optional, by making it optional in the call to TargetInstrInfo::convertToThreeAddressInstruction
Also, if LV isn't around, then TwoAddr doesn't need to be updating flags, since they won't have been set in the first place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53058 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/TwoAddressInstructionPass.cpp
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h