[clang] Add CHECK-LABEL to avoid source tree path sensitivity in test (PR #112461)

2024-10-31 Thread Tex Riddell via cfe-commits
https://github.com/tex3d closed https://github.com/llvm/llvm-project/pull/112461 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add CHECK-LABEL to avoid source tree path sensitivity in test (PR #112461)

2024-10-25 Thread Finn Plummer via cfe-commits
https://github.com/inbelic approved this pull request. https://github.com/llvm/llvm-project/pull/112461 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add CHECK-LABEL to avoid source tree path sensitivity in test (PR #112461)

2024-10-21 Thread Justin Bogner via cfe-commits
https://github.com/bogner approved this pull request. Could also consider checking for `ret void` instead, as that's more flexible if someone were to add another test case later in the file. This seems fine too though. https://github.com/llvm/llvm-project/pull/112461 __

[clang] Add CHECK-LABEL to avoid source tree path sensitivity in test (PR #112461)

2024-10-15 Thread Tex Riddell via cfe-commits
https://github.com/tex3d created https://github.com/llvm/llvm-project/pull/112461 The test `clang/test/CodeGen/2004-02-20-Builtins.c` will erroneously fail if "builtin" is in the path to your source tree. This change adds a `CHECK-LABEL !llvm.ident` after the `CHECK-NOT` to avoid searching in