commit | 6459a2d3270b111b234d9897cd05a5b98cc91bd3 | [log] [tgz] |
---|---|---|
author | Daniel Sanders <daniel_l_sanders@apple.com> | Wed Jan 17 20:34:29 2018 +0000 |
committer | Daniel Sanders <daniel_l_sanders@apple.com> | Wed Jan 17 20:34:29 2018 +0000 |
tree | 99c2ce35d92871bfd640039a9da1e1deb9669b1a | |
parent | bbb2a7afcc296804fa907d774150608d69665605 [diff] |
[globalisel][tablegen] Honour priority order within nested instructions. It appears that we haven't been prioritizing rules that contain nested instructions properly. InstructionOperandMatcher didn't override isHigherPriorityThan so it never compared the instructions/operands/predicates inside nested instructions. Fixes PR35926. Thanks to Diana Picus for the bug report. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322754 91177308-0d34-0410-b5e6-96231b3b80d8