Files
llvm/utils
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
..
2019-07-15 20:02:23 +00:00
2019-09-05 22:40:47 +00:00
2019-01-03 14:11:33 +00:00
2019-08-30 08:52:55 +00:00
2018-10-22 14:04:13 +00:00
2019-01-03 14:11:33 +00:00
2019-01-03 14:11:33 +00:00
2018-03-17 17:30:08 +00:00
2014-10-16 20:00:02 +00:00
2019-01-03 14:12:30 +00:00
2019-01-03 14:12:44 +00:00
2019-01-03 14:11:33 +00:00