[clang] [HLSL] set alwaysinline on HLSL functions (PR #106588)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 13:39:09 PDT 2024
================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -emit-llvm-only %s -verify
----------------
llvm-beanz wrote:
We should not need to emit IR to test a warning. This should work with `-fsyntax-only` or without the `-emit-llvm-only` flag.
https://github.com/llvm/llvm-project/pull/106588
More information about the cfe-commits
mailing list