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

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 06:07:29 PST 2017


sdesmalen 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;
----------------
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]>;


https://reviews.llvm.org/D41430





More information about the llvm-commits mailing list