XCore target: fix large code model 'select' indirect address handling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Robert Lytton
2013-12-02 10:18:37 +00:00
parent 883abacb5b
commit 41d4ed4ed0
2 changed files with 36 additions and 6 deletions

View File

@@ -1289,3 +1289,6 @@ def : Pat<(sra (shl GRRegs:$src, immBpwSubBitp:$imm), immBpwSubBitp:$imm),
def : Pat<(load (cprelwrapper tconstpool:$b)),
(LDWCP_lru6 tconstpool:$b)>;
def : Pat<(cprelwrapper tconstpool:$b),
(LDAWCP_lu6 tconstpool:$b)>;