llvm-6502/lib
David Majnemer 8a55c2ecd4 X86: Bad peephole interaction between adc, MOV32r0
The peephole tries to reorder MOV32r0 instructions such that they are
before the instruction that modifies EFLAGS.

The problem is that the peephole does not consider the case where the
instruction that modifies EFLAGS also depends on the previous state of
EFLAGS.

Instead, walk backwards until we find an instruction that has a def for
EFLAGS but does not have a use.
If we find such an instruction, insert the MOV32r0 before it.
If it cannot find such an instruction, skip the optimization.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182184 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-18 01:02:03 +00:00
..
Analysis Respect the 'nobuiltin' attribute when determining if a call is to a memory builtin. 2013-05-16 04:12:04 +00:00
Archive
AsmParser
Bitcode
CodeGen Add LLVMContext argument to getSetCCResultType 2013-05-18 00:21:46 +00:00
DebugInfo
ExecutionEngine r182085 introduced a change that triggered an assertion on ARM. This is an immediate fix 2013-05-17 14:31:59 +00:00
IR Remove duplicated comment 2013-05-18 00:24:09 +00:00
IRReader
Linker
MC Cleanup relocation sorting for ELF. 2013-05-15 18:22:01 +00:00
Object Convert obj2yaml to use yamlio. 2013-05-17 22:58:42 +00:00
Option
Support Fix build on Windows 2013-05-15 09:00:30 +00:00
TableGen
Target X86: Bad peephole interaction between adc, MOV32r0 2013-05-18 01:02:03 +00:00
Transforms Add missing -*- C++ -*- to headers 2013-05-17 21:43:39 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile