X86 Peephole: fix PR13475 in optimizeCompare.
It is possible that an instruction can use and update EFLAGS. When checking the safety, we should check the usage of EFLAGS first before declaring it is safe to optimize due to the update. llvm-svn: 160912
Loading
Please register or sign in to comment