================ @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected +// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected=note,warning ---------------- spall wrote:
The notes are listing out all of the defined overloads for the tests where incorrect number of arguments were passed; there were 58 notes. The reason it looks like its only happening for this test is, most of the tests call the builtin directly with the wrong number of arguments and if you do that these notes are not generated. You will see in this file the original author called 'mad' directly with the wrong number of arguments, which is why the notes are generated. Similarly, the warning about vector truncation is generated here but not in other cases because it is a call to 'mad' and not to the builtin directly. I will add the warning to the test since it is already matched once on line 24 though. https://github.com/llvm/llvm-project/pull/138429 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits