Several fixes:
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 1 Oct 2001 00:12:53 +0000 (00:12 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 1 Oct 2001 00:12:53 +0000 (00:12 +0000)
commit4cecdd206ec0f2f9f24bb4149b31a383f90d7802
treef7c3d570e57994c9dd42c18591ecead598d4179f
parent71939033dee310ad85d3ef10691b6588e4cd4fe5
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".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@683 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp