Turn optimize compares back on with fix. We needed to test that a machine op was
authorBill Wendling <isanbard@gmail.com>
Tue, 10 Aug 2010 21:38:11 +0000 (21:38 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 10 Aug 2010 21:38:11 +0000 (21:38 +0000)
commit75486dbf4e9611f2070bf13b874f78a5587ed7ff
tree28a6fa52f0bf2d7cb8c427b72c47362a3421374f
parenta516e94cf159b9ea02af31872fc59b7ceeef7965
Turn optimize compares back on with fix. We needed to test that a machine op was
a register before checking if it was defined.

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