diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-17 14:14:12 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-17 14:14:12 +0000 |
commit | 2dbe06a987d25e518a158342dd927b83d968aef7 (patch) | |
tree | 80bae8607f9938528c16c2148c6515a3956308b6 /llvm/lib/Analysis | |
parent | 140c4a74e29d8ec39351069e1e0ab46799455e63 (diff) | |
download | bcm5719-llvm-2dbe06a987d25e518a158342dd927b83d968aef7.tar.gz bcm5719-llvm-2dbe06a987d25e518a158342dd927b83d968aef7.zip |
[PowerPC] Fix hi/lo encoding in old-style code emitter
This patch implements the equivalent change to r182091/r182092
in the old-style code emitter. Instead of having two separate
16-bit immediate encoding routines depending on the instruction,
this patch introduces a single encoder that checks the machine
operand flags to decide whether the low or high half of a
symbol address is required.
Since now both encoders make no further distinction between
"symbolLo" and "symbolHi", the .td operand can now use a
single getS16ImmEncoding method.
Tested by running the old-style JIT tests on 32-bit Linux.
llvm-svn: 182097
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions