Add an unfolded offset field to LSR's Formula record. This is used to
authorDan Gohman <gohman@apple.com>
Tue, 3 May 2011 00:46:49 +0000 (00:46 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 3 May 2011 00:46:49 +0000 (00:46 +0000)
commitcca82149adef8306a295abdc963213ae3b11bbb6
tree2d38fc521b67e22982d8a8535c98bafe4cdbd709
parentf7710af4ba78aa7a0cc9c226f334d8f2b6ab31bf
Add an unfolded offset field to LSR's Formula record. This is used to
model constants which can be added to base registers via add-immediate
instructions which don't require an additional register to materialize
the immediate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130743 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/ARM/lsr-unfolded-offset.ll [new file with mode: 0644]