summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-25 19:32:03 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-25 19:32:03 +0000
commita41e93be3d817585950ddc3a3c3356627932f998 (patch)
treef77b7ce7b2067b125907b4e64c14e782b54a5ec6 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parenta7bd1d0b04004df926bfaeccc291a727ca5ce693 (diff)
downloadbcm5719-llvm-a41e93be3d817585950ddc3a3c3356627932f998.tar.gz
bcm5719-llvm-a41e93be3d817585950ddc3a3c3356627932f998.zip
1. Provide more detail in file comment.
2. Move comments for methods to .h file, delete them in .cpp file. 3. All places that were doing manual clear of high order bits now call the clearUnusedBits() method in order to not depend on undefined behavior of the >> operator when the number of bits shifted equals the word size. 4. Reduced # of loc by using the new result of clearUnusedBits() method. 5. Simplified logic (decreased indentation) in a few places. 6. Added code comments to larger functions that needed them. 7. Added FIXME notes about weak implementations of things (e.g. bit-by-bit shift right is sub-optimal). llvm-svn: 34603
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud