llvm-6502/lib
Bill Wendling 40a5eb18b0 When we look at instructions to convert to setting the 's' flag, we need to look
at more than those which define CPSR. You can have this situation:

(1)  subs  ...
(2)  sub   r6, r5, r4
(3)  movge ...
(4)  cmp   r6, 0
(5)  movge ...

We cannot convert (2) to "subs" because (3) is using the CPSR set by
(1). There's an analogous situation here:

(1)  sub   r1, r2, r3
(2)  sub   r4, r5, r6
(3)  cmp   r4, ...
(5)  movge ...
(6)  cmp   r1, ...
(7)  movge ...

We cannot convert (1) to "subs" because of the intervening use of CPSR.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117950 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-01 20:41:43 +00:00
..
Analysis Make ScalarEvolution::forgetLoop forget all contained loops too, because 2010-10-29 20:16:10 +00:00
Archive
AsmParser
Bitcode
CodeGen When we look at instructions to convert to setting the 's' flag, we need to look 2010-11-01 20:41:43 +00:00
CompilerDriver llvmc: Make ExecuteProgram() look in the driver directory first. 2010-10-28 19:33:08 +00:00
ExecutionEngine
Linker
MC Write the line info to .debug_line. 2010-11-01 17:07:14 +00:00
Support Fix these error messages to be less confusing. These error 2010-10-29 17:03:40 +00:00
System Check if ErrMsg is null. This fixes the "not" command. 2010-10-29 17:20:42 +00:00
Target When we look at instructions to convert to setting the 's' flag, we need to look 2010-11-01 20:41:43 +00:00
Transforms Now that the MallocInst no longer exists, this workaround for 2010-10-30 16:12:16 +00:00
VMCore Inline asm multiple alternative constraints development phase 2 - improved basic logic, added initial platform support. 2010-10-29 17:29:13 +00:00
Makefile