Files
llvm/test/TableGen
Matt Arsenault 6126e3cf89 GlobalISel/TableGen: Fix handling of EXTRACT_SUBREG constraints
This was only using the correct register constraints if this was the
final result instruction. If the extract was a sub instruction of the
result, it would attempt to use GIR_ConstrainSelectedInstOperands on a
COPY, which won't work. Move the handling to
createAndImportSubInstructionRenderer so it works correctly.

I don't fully understand why runOnPattern and
createAndImportSubInstructionRenderer both need to handle these
special cases, and constrain them with slightly different methods. If
I remove the runOnPattern handling, it does break the constraint when
the final result instruction is EXTRACT_SUBREG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371150 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-06 00:05:58 +00:00
..
2018-03-14 11:00:43 +00:00
2018-03-09 12:24:42 +00:00
2018-03-06 13:49:16 +00:00
2018-03-09 12:24:06 +00:00
2018-03-14 11:00:43 +00:00
2018-03-14 11:00:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-02-23 10:46:07 +00:00
2013-12-22 03:43:58 +00:00