IT instructions are considered to be scheduling hazards, but are scheduled
authorJim Grosbach <grosbach@apple.com>
Fri, 25 Jun 2010 18:43:14 +0000 (18:43 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 25 Jun 2010 18:43:14 +0000 (18:43 +0000)
commit57bb3948034436a458f5ef857eb2e831a47e7401
treecf996d2c11130de01ed655487850203d87eeb3d3
parent0491e132fc770ecf72ee774c083b2efb4ccd1d86
IT instructions are considered to be scheduling hazards, but are scheduled
with the following instructions. This is done via trickery by considering the
instruction preceding the IT to be the hazard. Care must be taken to ensure
it's the first non-debug instruction, or the presence of debug info will
affect codegen.

Part of the continuing work for rdar://7797940, making ARM code-gen unaffected
by the presence of debug information.

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