[clang] [AArch64][SME] Warn when using a streaming builtin from a non-streaming function (PR #74064)

Sam Tebbs via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 05:29:51 PST 2023


================
@@ -3172,6 +3117,18 @@ bool Sema::CheckSVEBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
       if (SemaBuiltinConstantArgRange(TheCall, ArgNum, 0, 255))
         HasError = true;
       break;
+    case SVETypeFlags::ImmCheck1_1:
----------------
SamTebbs33 wrote:

I'm actually not sure. When building the compiler was telling me that these cases weren't being checked for so I added them. I'm not sure what caused them to disappear in the first place. I'll revert this chunk.

https://github.com/llvm/llvm-project/pull/74064


More information about the cfe-commits mailing list