[PATCH] D53491: [Sparc] Add membar assembler tags

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 13 07:16:39 PST 2018


jyknight accepted this revision.
jyknight added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/MC/Sparc/sparc-asm-errors.s:1-2
-! RUN: not llvm-mc %s -arch=sparc   -show-encoding 2>&1 | FileCheck %s
-! RUN: not llvm-mc %s -arch=sparcv9 -show-encoding 2>&1 | FileCheck %s
+! RUN: not llvm-mc %s -arch=sparc   -show-encoding 2>&1 | FileCheck %s --check-prefix=V8
+! RUN: not llvm-mc %s -arch=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefix=V9
 
----------------
You can use two check prefixes, e.g.: "--check-prefix=CHECK --check-prefix=V8", so as not to have to duplicate the common lines.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53491/new/

https://reviews.llvm.org/D53491





More information about the llvm-commits mailing list