llvm-6502/lib
Nate Begeman cb90de37a7 Add ori reg, reg, 0 as a move instruction. This can be generated from
loading a 32bit constant into a register whose low halfword is all zeroes.

We now omit the ori after the lis for the following C code:

int bar(int y) { return y * 0x00F0000; }

_bar:
.LBB_bar_0:     ; entry
        ; IMPLICIT_DEF
        lis r2, 15
        mullw r3, r3, r2
        blr


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16825 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 22:26:12 +00:00
..
Analysis Fix a nasty dangling pointer problem, due to a free'd pointer being left in 2004-10-07 20:01:31 +00:00
Archive Changes For Bug 352 2004-09-01 22:55:40 +00:00
AsmParser Okay, the list of link-time passes wasn't such a hot idea. Its prone to 2004-09-14 05:43:23 +00:00
Bytecode Fix doxygen comment 2004-09-28 16:57:46 +00:00
CodeGen Do not repeat the map lookup 2004-10-01 23:16:43 +00:00
Debugger Changes For Bug 352 2004-09-01 22:55:40 +00:00
ExecutionEngine Convert code to compile with vc7.1. 2004-09-15 17:06:42 +00:00
Linker Make sure the const bit gets inherited correctly when linking declarations 2004-10-05 02:28:11 +00:00
Support Excise the ill-advised RLCOMP compression algorithm and simply leave the 2004-10-04 17:45:44 +00:00
System Must include sys/stat.h before declaring a 'struct stat' 2004-10-05 18:46:59 +00:00
Target Add ori reg, reg, 0 as a move instruction. This can be generated from 2004-10-07 22:26:12 +00:00
Transforms Improve comments, no functionality changes 2004-10-07 21:30:30 +00:00
VMCore Unfortunately the fix for the previous bug introduced the previous 2004-10-07 19:20:48 +00:00
Makefile Wrap long line 2004-09-15 01:34:42 +00:00