mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-25 05:15:58 +00:00
4bdadf3b6f
(1) Avoid hard-coding some register numbers. (2) Fix some incorrect branch opcodes. (3) Don't try to move int register to float register! (4) If an operand being forwarded is a constant and it doesn't fit into the immed field of the copy machine instruction, then generate a load-constant instead of a copy. (5) Use (unsigned long) 0 for copying a pointer via "add 0, ptr -> ptr2". llvm-svn: 683