[clang] [HLSL] set alwaysinline on HLSL functions (PR #106588)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 10:36:14 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/5917
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-compute -emit-llvm -o - -O0 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-compute -emit-llvm -o - -O0 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl:14:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: define internal void @"?main@@YAXI at Z"
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl'
[0;1;32m^
[0m[1m<stdin>:12:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mdefine void @main() #0 {
[0;1;32m^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl' [0m
[0;1;31mcheck:14'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenHLSL/builtins/StructuredBuffer-subscript.hlsl" [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64" [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "dxilv1.0-pc-shadermodel6.0-compute" [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;31mcheck:14'0 ~
[0m[0;1;30m 6: [0m[1m[0;1;46m%"class.hlsl::StructuredBuffer" = type { ptr } [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m [0m
[0;1;31mcheck:14'0 ~
[0m[0;1;30m 8: [0m[1m[0;1;46m@"?In@@3V?$StructuredBuffer at H@hlsl@@A" = global %"class.hlsl::StructuredBuffer" zeroinitializer, align 4 [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m@"?Out@@3V?$StructuredBuffer at H@hlsl@@A" = global %"class.hlsl::StructuredBuffer" zeroinitializer, align 4 [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m [0m
[0;1;31mcheck:14'0 ~
[0m[0;1;30m 11: [0m[1m[0;1;46m; Function Attrs: convergent noinline norecurse [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46mdefine void @main() #0 { [0m
[0;1;31mcheck:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;35mcheck:14'1 ? possible intended match
...
```
</details>
https://github.com/llvm/llvm-project/pull/106588
More information about the cfe-commits
mailing list