From: Owen Anderson Date: Wed, 8 Dec 2010 19:31:11 +0000 (+0000) Subject: Improve comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cc78f5c09c451dd84ef5c4abdfcdadd4270a4942;p=oota-llvm.git Improve comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121272 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp index 615ec4e3f57..28d902a553c 100644 --- a/lib/Target/ARM/ARMAsmBackend.cpp +++ b/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;