Move the search for the appropriate AND instruction
authorGabor Greif <ggreif@gmail.com>
Tue, 21 Sep 2010 12:01:15 +0000 (12:01 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 21 Sep 2010 12:01:15 +0000 (12:01 +0000)
commit04ac81d5db058a3a9492e1aff1f398a8643bfda9
tree80588f5e23bfc4ea96c578ea35591176d215e405
parentb4c7a12aeae6283916c6e03a9bd625e54ffbeafd
Move the search for the appropriate AND instruction
into OptimizeCompareInstr.
This necessitates the passing of CmpValue around,
so widen the virtual functions to accomodate.

No functionality changes.

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