Files
llvm/utils
Jessica Paquette c6ee9a1aee [GlobalISel] Import patterns containing SUBREG_TO_REG
Reuse the logic for INSERT_SUBREG to also import SUBREG_TO_REG patterns.

- Split `inferSuperRegisterClass` into two functions, one which tries to use
  an existing TreePatternNode (`inferSuperRegisterClassForNode`), and one that
  doesn't. SUBREG_TO_REG doesn't have a node to leverage, which is the cause
  for the split.

- Rename GlobalISelEmitterInsertSubreg.td to GlobalISelEmitterSubreg.td and
  update it.

- Update impacted tests in the AArch64 and X86 backends.

This is kind of a hit/miss for code size improvements/regressions. E.g. in
add-ext.ll, we now get some identity copies. This isn't really anything the
importer can handle, since it's caused by a later pass introducing the copy for
the sake of correctness.

Differential Revision: https://reviews.llvm.org/D66769

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370254 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-28 20:12:31 +00:00
..
2019-07-15 20:02:23 +00:00
2019-08-28 19:38:59 +00:00
2019-01-03 14:11:33 +00:00
2019-03-14 21:09:14 +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