Move some of the decision logic for converting an instruction into one that sets
authorBill Wendling <isanbard@gmail.com>
Fri, 10 Sep 2010 23:34:19 +0000 (23:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 10 Sep 2010 23:34:19 +0000 (23:34 +0000)
commit92ad57f066e9f256e4e3d72febf152e68caa80c7
tree1a95be27cf727d9b597de7d9d0f0dffb37686154
parentd10cd7b31464a73e3a19b9fada80b9567b04d314
Move some of the decision logic for converting an instruction into one that sets
the 'zero' bit down into the back-end. There are other cases where this logic
isn't sufficient, so they should be handled separately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113665 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/PeepholeOptimizer.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h