[PATCH] D36467: [ARM, FIX] ARMTargetLowering::isLegalAddressingMode can accept illegal addressing modes for Thumb1 target

Evgeny Astigeevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 05:52:40 PDT 2017


eastig updated this revision to Diff 111960.
eastig added a comment.

- Moved Thumb1 related code into a separate function: ARMTargetLowering::isLegalT1ScaledAddressingMode
- Added support of the case: Scale == 2 and there is no base register


https://reviews.llvm.org/D36467

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  test/CodeGen/Thumb/addr-modes.ll
  test/Transforms/LoopStrengthReduce/illegal-addr-modes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36467.111960.patch
Type: text/x-patch
Size: 10021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170821/b7c1fcad/attachment.bin>


More information about the llvm-commits mailing list