commit | 9e88a394b9caff57630bba81198717f75ec90f16 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Tue Apr 13 19:40:36 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:29:00 2021 -0700 |
tree | c11b0428befabd3ad2ea46f255312d4d6bcd6487 | |
parent | c595db3b058d24f23599acc61f12e6ac8bf4a5ad [diff] |
[PowerPC] Use correct node to get a super register from a subreg The VSX tablegen file has some rather eggregious uses of COPY_TO_REGCLASS even in situations where it needs to use SUBREG_TO_REG. While this produces correct code, it often doesn't allow the register coalescer to coalesce copies and the resulting code ends up being suboptimal. This patch just changes over patterns that should use SUBREG_TO_REG. GitOrigin-RevId: 0148bf53f0a0b533eb742a7c8005a40328c48d66