The AND instruction leaves the V flag unmodified, so it falls victim to the same
authorCameron Zwarich <zwarich@apple.com>
Fri, 15 Apr 2011 20:45:00 +0000 (20:45 +0000)
committerCameron Zwarich <zwarich@apple.com>
Fri, 15 Apr 2011 20:45:00 +0000 (20:45 +0000)
commitb485de5d8c3fe0c62c0b07f63f64bd10f6803c17
treea86943abbfd5ec5e3a1049c6e36450d0eef21c76
parented7cd9610a5d4f42b24b2aa2eded2b3ff9bd2858
The AND instruction leaves the V flag unmodified, so it falls victim to the same
problem as all of the other instructions we fold with CMPs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129602 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/2011-04-15-AndVFlagPeepholeBug.ll [new file with mode: 0644]