Several fixes:
(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
Loading
Please register or sign in to comment