Adding a note to the genBaseIntrinsic function header about operand assumptions ...
authorTanner Gooding <tagoo@outlook.com>
Fri, 7 Dec 2018 21:00:35 +0000 (13:00 -0800)
committerGitHub <noreply@github.com>
Fri, 7 Dec 2018 21:00:35 +0000 (13:00 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/be913c781de85aa3f4e0b952262f0f081c93eacb

src/coreclr/src/jit/hwintrinsiccodegenxarch.cpp

index 8f2bc3a..5c58bc2 100644 (file)
@@ -1247,6 +1247,9 @@ void CodeGen::genHWIntrinsicJumpTableFallback(NamedIntrinsic            intrinsi
 // Arguments:
 //    node - The hardware intrinsic node
 //
+// Note:
+//    We currently assume that all base intrinsics only have a single operand.
+//
 void CodeGen::genBaseIntrinsic(GenTreeHWIntrinsic* node)
 {
     NamedIntrinsic intrinsicId = node->gtHWIntrinsicId;