[PATCH] D76680: [SveEmitter] Add immediate checks for lanes and complex imms

Sjoerd Meijer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 03:11:49 PDT 2020


SjoerdMeijer added a comment.

Looks good to me, but just one question about the tests. If I haven't overlooked anything, I don't see tests that check the new diagnostics:
"argument should be the value 90 or 270"
"argument should be the value 0,90,180 or 270"

Should they be here, or are they somewhere else?



================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:9208
+def err_rotation_argument_to_cmla
+    : Error<"argument should be the value 0,90,180 or 270">;
 def warn_neon_vector_initializer_non_portable : Warning<
----------------
A proper nit, perhaps some spaces here: "0,90,180".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76680





More information about the cfe-commits mailing list