[PATCH] Move VFP4 predicate inside UseFusedMAC

Tim Northover t.p.northover at gmail.com
Wed Dec 4 07:42:17 PST 2013


Hi Daniel,

 def  VFMAfd   : N3VDMulOp<0, 0, 0b00, 0b1100, 1, IIC_VFMACD, "vfma", "f32",
                           v2f32, fmul_su, fadd_mlx>,
-                Requires<[HasNEON,HasVFP4,UseFusedMAC]>;
+                Requires<[HasNEON,UseFusedMAC]>;

Doesn't this change mean the assembler will permit vfma even when VFP4
isn't available? In general you can probably simplify the Pat
instances, but might have to be more careful on the instructions.

Cheers.

Tim.



More information about the llvm-commits mailing list