Issue |
140998
|
Summary |
[DirectX] MakeDouble doesn't match validator expectations
|
Labels |
new issue
|
Assignees |
|
Reporter |
spall
|
```
Function: main: error: 'dx.op.makeDouble' is not a DXILOpFuncition for DXILOpcode 'MakeDouble'.
# | note: at '%hlsl.asdouble.i1 = call double @dx.op.makeDouble(i32 101, i32 0, i32 2146959360) #3' in block 'entry' of function 'main'.
# | Function: dx.op.makeDouble.f64: error: External function 'dx.op.makeDouble.f64' is unused.
# | Validation failed.
```
seen when compiling this code:
```
RWStructuredBuffer<double> Out1 : register(u0);
[numthreads(1,1,1)]
void main() {
Out1[0] = asdouble(0x00000000, 0x7FF80000); // Should be NaN
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs