[clang] [HLSL] Vector standard conversions (PR #71098)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 15:49:11 PST 2024


Prabhuk wrote:

Seeing the crash in Linux CI toolchain builders. 

```
Command Output (stderr):
--
RUN: at line 2: /b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem /b/s/w/ir/x/w/llvm_build/lib/clang/19/include -nostdsysteminc -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple arm-none-linux-gnueabi /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c | /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c --check-prefix=NOTNATIVE --check-prefix=CHECK -vv -dump-input=fail
+ /b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem /b/s/w/ir/x/w/llvm_build/lib/clang/19/include -nostdsysteminc -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple arm-none-linux-gnueabi /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c
+ /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c --check-prefix=NOTNATIVE --check-prefix=CHECK -vv -dump-input=fail
clang: clang/lib/CodeGen/CGExprScalar.cpp:2457: Value *(anonymous namespace)::ScalarExprEmitter::VisitCastExpr(CastExpr *): Assertion `!Builder.getIsFPConstrained() && "FP Constrained vector casts not supported yet."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem /b/s/w/ir/x/w/llvm_build/lib/clang/19/include -nostdsysteminc -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple arm-none-linux-gnueabi /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c
1.	<eof> parser at end of file
2.	/b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c:733:6: LLVM IR generation of declaration 'testTypeDef'
3.	/b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c:733:6: Generating code for declaration 'testTypeDef'
#0 0x0000560d2865a778 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/llvm_build/bin/clang+0x8858778)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/CodeGen/fp16-ops-strictfp.c --check-prefix=NOTNATIVE --check-prefix=CHECK -vv -dump-input=fail
```

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


More information about the cfe-commits mailing list