if the terminator is a branch depending upon the side effects of a
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 7 Jul 2009 08:04:51 +0000 (08:04 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Tue, 7 Jul 2009 08:04:51 +0000 (08:04 +0000)
commit1dd35b4c35ef149a48c511283331f49c04351cae
tree9ee91ff066a9ebf54d78d20af9b157b333a49340
parent40289b041adb299e4474607066b69b89298e5f70
 if the terminator is a branch depending upon the side effects of a
 previous cmp; a copy can not be inserted here if the copy insn also has
 side effects. We don't have access to the attributes of copy insn here;
 so just play safe by finding a safe locations for branch terminators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74898 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PHIElimination.cpp