[PATCH] D41430: [ARM] Armv8-R DFB instruction

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 06:22:55 PST 2017


samparker added inline comments.


================
Comment at: lib/Target/ARM/ARMInstrThumb2.td:4512
+// Armv8-R 'Data Full Barrier'
+def : InstAlias<"dfb${p}", (t2DSB 0xc, pred:$p), 0>, Requires<[HasDFB]> {
+  let EmitPriority = 1;
----------------
sdesmalen wrote:
> Thanks for making this change. Also, if you change the last parameter of InstAlias to '1', you don't need to set EmitPriority=1.
> i.e.
>   IntAlias<"dfb${p}", (t2DSB 0xc, pred:$p), 1>, Requires<[HasDFB]>;
Ah! Will do


https://reviews.llvm.org/D41430





More information about the llvm-commits mailing list