llvm-6502/lib
Evan Cheng a16d4429e4 Watch out for cases like this:
entry (0x8b056f0, LLVM BB @0x8b01b30, ID#0):
Live Ins: %r0 %r1 %r2 %r3
        %reg1032 = tMOVrr %r3<kill>
        %reg1033 = tMOVri8 1
        %reg1034 = tMOVri8 0
        tCMPi8 %reg1029<kill>, 0
        tBcc mbb<entry,0x8b06a10>, 0
    Successors according to CFG: 0x8b06980 0x8b06a10

entry (0x8b06980, LLVM BB @0x8b01b30, ID#12):
    Predecessors according to CFG: 0x8b056f0
        %reg1036 = tMOVrr %reg1034<kill>
    Successors according to CFG: 0x8b06a10

entry (0x8b06a10, LLVM BB @0x8b01b30, ID#13):
    Predecessors according to CFG: 0x8b056f0 0x8b06980
        %reg1024<dead> = tMOVrr %reg1030<kill>
        ...

reg1030 and r1 have already been joined. When reg1024 and reg1030 are joined,
r1 live range from function entry to the tMOVrr instruction are dead. Eliminate
r1 from the livein set of the entry BB, not the BB where the copy is.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34866 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-03 02:18:00 +00:00
..
Analysis Fix an unequal bitwidth issue. 2007-03-02 02:59:25 +00:00
Archive move archive-specific stuff out of bcreader into archive library. 2007-02-07 23:53:17 +00:00
AsmParser Regenerate. 2007-03-01 19:41:47 +00:00
Bytecode Use a simpler constructor for ConstantInt. 2007-03-01 20:25:31 +00:00
CodeGen Watch out for cases like this: 2007-03-03 02:18:00 +00:00
Debugger Don't use <sstream> in Streams.h but <iosfwd> instead. 2006-12-07 23:41:45 +00:00
ExecutionEngine Fix PR1216 by cleaning up the ownership of JITResolver. 2007-02-24 02:57:03 +00:00
Linker For PR1195: 2007-02-15 02:26:10 +00:00
Support Fix ashr for bitwidths > 64. This is now validated up to 1024 bits. 2007-03-02 22:39:11 +00:00
System Add possibility to set memory limit for binaries run via libSystem. This 2007-02-16 19:11:07 +00:00
Target X86-64 VACOPY needs custom expansion. va_list is a struct { i32, i32, i8*, i8* }. 2007-03-02 23:16:35 +00:00
Transforms add a top-level iteration loop to instcombine. This means that it will never 2007-03-03 02:04:50 +00:00
VMCore Prefer non-virtual calls to ConstantInt::isZero over virtual calls to 2007-03-02 00:28:52 +00:00
Makefile Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00