ARM: Fix optimizeCompare to correctly check safe condition.
It is safe if CPSR is killed or re-defined. When we are done with the basic block, check whether CPSR is live-out. Do not optimize away cmp if CPSR is live-out. llvm-svn: 160090
Loading
Please register or sign in to comment