diff options
author | Owen Anderson <resistor@mac.com> | 2010-12-08 19:31:11 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-12-08 19:31:11 +0000 |
commit | dae32fd206c2946bbabd20aa813f903cfb3f959c (patch) | |
tree | 7ea481fd861988ba57818a56ef834eeec068b7b8 /llvm/lib | |
parent | b340e6bb153e53ac4ecf5b48b590c516245265df (diff) | |
download | bcm5719-llvm-dae32fd206c2946bbabd20aa813f903cfb3f959c.tar.gz bcm5719-llvm-dae32fd206c2946bbabd20aa813f903cfb3f959c.zip |
Improve comment.
llvm-svn: 121272
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmBackend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/ARMAsmBackend.cpp index 615ec4e3f57..28d902a553c 100644 --- a/llvm/lib/Target/ARM/ARMAsmBackend.cpp +++ b/llvm/lib/Target/ARM/ARMAsmBackend.cpp @@ -155,7 +155,8 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) { assert ((Value < 256) && "Out of range pc-relative fixup value!"); Value |= isAdd << 23; - // Same addressing mode as fixup_arm_pcrel_10, but with the bytes reordered. + // Same addressing mode as fixup_arm_pcrel_10, + // but with 16-bit halfwords swapped. if (Kind == ARM::fixup_t2_pcrel_10) { uint64_t swapped = (Value & 0xFFFF0000) >> 16; swapped |= (Value & 0x0000FFFF) << 16; |