aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-02-03 06:22:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-02-03 06:22:41 +0000
commite4a8a6e645b82e8fb5863ae78717cf99cd295f89 (patch)
treeabe026c3760f8db4961ee7e7b12380a891d0d160 /lib/Target/Sparc
parent33c1dab0bdb2f1a1a75405aa82b9dd9d01d76cd1 (diff)
(store (op (load ...))) folding problem. In the generated matching code,
Chain is initially set to the chain operand of store node, when it reaches load, if it matches the load then Chain is set to the chain operand of the load. However, if the matching code that follows this fails, isel moves on to the next pattern but it does not restore Chain to the chain operand of the store. So when it tries to match the next store / op / load pattern it would fail on the Chain == load.getOperand(0) test. The solution is for each chain operand to get a unique name. e.g. Chain10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions