diff options
author | Richard Osborne <richard@xmos.com> | 2013-05-04 17:17:10 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2013-05-04 17:17:10 +0000 |
commit | 40827bc716e9eda3e70460207696f2ec10dd67ad (patch) | |
tree | b098c43c236785e6ff7ba57a5c5c36dbd1de5129 /lib/Target/XCore/Disassembler/XCoreDisassembler.cpp | |
parent | 597432fbe53bda0069b0ad13e5ad57ae0ee7ee45 (diff) |
[XCore] Simplify code that checks for an aligned base plus a constant.
The code now makes use of ComputeMaskedBits,
SelectionDAG::isBaseWithConstantOffset and TargetLowering::isGAPlusOffset
where appropriate reducing the amount of logic needed in XCoreISelLowering.
No intended functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/Disassembler/XCoreDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions