diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-08-25 21:54:44 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-08-25 21:54:44 +0000 |
commit | d7572fb2346e3ace127f78435c276c464b1bab72 (patch) | |
tree | 38188e7f88f4cf76495f93f460d91805160c4e61 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 50eac3b8ab4a91a4428bc0654317d1a525931d78 (diff) | |
download | bcm5719-llvm-d7572fb2346e3ace127f78435c276c464b1bab72.tar.gz bcm5719-llvm-d7572fb2346e3ace127f78435c276c464b1bab72.zip |
Encode pc-relative conditional branch offset as pc+(num of bytes / 4). The
asm printer will print it as offset*4. e.g. bne cr0, $+8.
The PPC code emitter was expecting the offset to be number of instructions, not
number of bytes. This fixes a whole bunch of JIT failures.
llvm-svn: 29885
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions