diff options
| author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-02-24 13:58:11 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-02-24 13:58:11 +0000 |
| commit | 759ff41f31b5bb2affde56fca75c60d728994381 (patch) | |
| tree | dd62ca01a1b496fa288c004e1b74dc71bf03807d /llvm/lib/Target/ARM/ARMInstructionSelector.cpp | |
| parent | b31a2591981ac633c328aee24273a7bdeb79705c (diff) | |
| download | bcm5719-llvm-759ff41f31b5bb2affde56fca75c60d728994381.tar.gz bcm5719-llvm-759ff41f31b5bb2affde56fca75c60d728994381.zip | |
[globalisel] Sort RuleMatchers by priority.
Summary:
This makes more important rules have priority over less important rules.
For example, '%a = G_ADD $b:s64, $c:s64' has priority over
'%a = G_ADD $b:s32, $c:s32'. Previously these rules were emitted in the
correct order by chance.
NFC in this patch but it is required to make the next patch work correctly.
Depends on D29710
Reviewers: t.p.northover, ab, qcolombet, aditya_nandakumar, rovka
Reviewed By: ab, rovka
Subscribers: javed.absar, dberris, llvm-commits, kristof.beyls
Differential Revision: https://reviews.llvm.org/D29711
llvm-svn: 296121
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstructionSelector.cpp')
0 files changed, 0 insertions, 0 deletions

