summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-04-05 13:14:03 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-04-05 13:14:03 +0000
commit4f3eb249cf93ca50704ebdab04b0d95307abcbba (patch)
tree953c9aa79b1b0cd8ae01c2e1b013a25b522f7bd8 /llvm/lib/CodeGen
parent3bccec5da7e553e4291ed5f1ad069fe68cb20a43 (diff)
downloadbcm5719-llvm-4f3eb249cf93ca50704ebdab04b0d95307abcbba.tar.gz
bcm5719-llvm-4f3eb249cf93ca50704ebdab04b0d95307abcbba.zip
[globalisel][tablegen] Fix patterns involving multiple ComplexPatterns.
Summary: Temporaries are now allocated to operands instead of predicates and this allocation is used to correctly pair up the rendered operands with the matched operands. Previously, ComplexPatterns were allocated temporaries independently in the Src Pattern and Dst Pattern, leading to mismatches. Additionally, the Dst Pattern failed to account for the allocated index and therefore always used temporary 0, 1, ... when it should have used base+0, base+1, ... Thanks to Aditya Nandakumar for noticing the bug. Depends on D30539 Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar Reviewed By: rovka Subscribers: igorb, dberris, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D31054 llvm-svn: 299538
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud