OSDN Git Service

[PowerPC] fix up in redundant compare elimination
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Wed, 15 Nov 2017 04:23:26 +0000 (04:23 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Wed, 15 Nov 2017 04:23:26 +0000 (04:23 +0000)
commitcd69cc5db2afb7cd41905260b74f1b4fd897b56a
tree7887d7fa9d8b2f8f8fb50e36c45948e9914ecdb5
parent4aef6b82060ea9a7dd5e431ba5460c630becca55
[PowerPC] fix up in redundant compare elimination

This patch fixes a potential problem in my previous commit (https://reviews.llvm.org/rL312514) by introducing an additional check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCMIPeephole.cpp