diff options
author | Nate Begeman <natebegeman@mac.com> | 2004-10-07 22:30:03 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2004-10-07 22:30:03 +0000 |
commit | 6e6514c47eb140cf73009133b2e352d535cfe1be (patch) | |
tree | 3907b9fcf13e0d720c2e65954690b538ff17ea2c /llvm/docs/TestingGuide.html | |
parent | c6b63cd2edde5b06c924faa718c1ff5053a6c9cf (diff) | |
download | bcm5719-llvm-6e6514c47eb140cf73009133b2e352d535cfe1be.tar.gz bcm5719-llvm-6e6514c47eb140cf73009133b2e352d535cfe1be.zip |
Several fixes and enhancements to the PPC32 backend.
1. Fix an illegal argument to getClassB when deciding whether or not to
sign extend a byte load.
2. Initial addition of isLoad and isStore flags to the instruction .td file
for eventual use in a scheduler.
3. Rewrite of how constants are handled in emitSimpleBinaryOperation so
that we can emit the PowerPC shifted immediate instructions far more
often. This allows us to emit the following code:
int foo(int x) { return x | 0x00F0000; }
_foo:
.LBB_foo_0: ; entry
; IMPLICIT_DEF
oris r3, r3, 15
blr
llvm-svn: 16826
Diffstat (limited to 'llvm/docs/TestingGuide.html')
0 files changed, 0 insertions, 0 deletions