I have written some FOC code which is supposed to work for both the CPU and CLA. It works for the CPU since if I comment out runFOC() in peripherals/source/CLAtasks.cla, the code compiles and works as intended. However, when I compile it for the CLA (uncommented runFOC() in CLAtasks.cla), I receive the following compilation error.

I have no idea what 'no match for VFIELD' means. Maybe it means that the compiler is attempting to compile code to access some register 'VFIELD' which doesn't actually exist? Also, if I put the compiler optimization on -O2, the error is 'no match for VREG'.
I've attached my CCS project below. The files causing the errors are in the control_math folder.