[PATCH] D75014: [InstrEmitter, SystemZ] Copy Access registers with the correct register class.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 14:29:24 PST 2020
jonpa updated this revision to Diff 246305.
jonpa added a comment.
This is an "uglier" handling that does not involve any common code changes. The reason it is not so nice is that the backend needs to transform the SelectionDAG (in Select()) by first recognizing any copy to/from a special set of registers and then in the case of copyFromReg insert a target pseudo opcode just with the purpose of constraining the regclass of the created virtreg.
It would be much simpler if the target could just supply the right regclass in the first place, which was my original suggestion (please see "Diff 1" under the History tab).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75014/new/
https://reviews.llvm.org/D75014
Files:
llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/test/CodeGen/SystemZ/tls-08.ll
llvm/test/CodeGen/SystemZ/tls-09.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75014.246305.patch
Type: text/x-patch
Size: 5838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/41544986/attachment.bin>
More information about the llvm-commits
mailing list