summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/frame-base.ll
Commit message (Collapse)AuthorAge
* X86: FrameIndex addressing modes do have a base register.Tim Northover2013-09-19
When selecting the DAG (add (WrapperRIP ...), (FrameIndex ...)), X86 code had spotted the FrameIndex possibility and was working out whether it could fold the WrapperRIP into this. The test for forming a %rip version is notionally whether we already have a base or index register (%rip precludes both), but we were forgetting to account for the register that would be inserted later to access the frame. rdar://problem/15024520 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190995 91177308-0d34-0410-b5e6-96231b3b80d8