[llvm-commits] [llvm] r142530 - in /llvm/trunk: lib/Target/ARM/ARMISelLowering.cpp test/CodeGen/ARM/2011-10-18-DisableMovtSize.ll

James Molloy james.molloy at arm.com
Wed Oct 26 00:23:31 PDT 2011


Quite - even less if you can reuse constant pool entries.

James

-----Original Message-----
From: Eli Friedman [mailto:eli.friedman at gmail.com] 
Sent: 26 October 2011 08:04
To: Evan Cheng
Cc: James Molloy; llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [llvm] r142530 - in /llvm/trunk:
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/2011-10-18-DisableMovtSize.ll

On Tue, Oct 25, 2011 at 6:08 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> 2. Where is code size saving from? You are talking about movw + movt vs.
ldr + a constantpool entry.

movw+movt is 8 bytes, ldr+constantpool entry is roughly 6 bytes.

-Eli








More information about the llvm-commits mailing list