Fix a bug in outputting branches to constant PCs. Since the PC is supplied as
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 20 May 2004 07:43:40 +0000 (07:43 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 20 May 2004 07:43:40 +0000 (07:43 +0000)
commitceabd97423f8431f8215f180e21722fc3d221a35
tree4174a8da9770f5f57690f793cbcc5a094a2d68d2
parenta900452d37ec2b5ae34b0aedfefe23675476a6c4
Fix a bug in outputting branches to constant PCs. Since the PC is supplied as
a full 64-bit address, it must be adjusted to fit in the branch instruction's
immediate field. (This is only used in the reoptimizer, for now.)

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