[PATCH] D38175: [ARM] Make sure assembler rejects PC as an operand for VMOV.F16

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 06:48:39 PST 2017


olista01 added a comment.

Hi Andre,

I've not looked at fast isel much before, but it looks like it is responsible for creating virtual registers of the correct register class for the instructions it's creating. If you grep for createResultReg in ARMFastISel.cpp, there are a few places where it has to select between GPRRegClass and rGPRRegClass, have you tried updating that code to use rGPR2RegClass when building a VMOVSR?


https://reviews.llvm.org/D38175





More information about the llvm-commits mailing list