commit | 361c297c9dc14145cca04f53c70760567e2e25b6 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Fri Sep 07 09:21:25 2018 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Fri Sep 07 09:21:25 2018 +0000 |
tree | ff6eb5d530e9e8c584705bb7158984e373d72192 | |
parent | f774071018b07c3594dd0d48557d7b46736227f1 [diff] |
ARM: fix Thumb2 CodeGen for ldrex with folded frame-index. Because t2LDREX (& t2STREX) were marked as AddrModeNone, but did allow a FrameIndex operand, rewriteT2FrameIndex asserted. This gives them a proper addressing-mode and tells the rewriter about it so that encodable offsets are exploited and others are rejected. Should fix PR38828. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341642 91177308-0d34-0410-b5e6-96231b3b80d8