[TTI] getTypeBasedIntrinsicInstrCost - add basic handling for strided load/store...
[llvm-project.git] / llvm / test / CodeGen / DirectX / discard_error.ll
blobf863b39856e6b4eb2ef31338b84b7687fba96728
1 ; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
3 ; DXIL operation discard does not support no bool overload type
5 ; CHECK: invalid intrinsic signature
6 ; CHECK: call void @llvm.dx.discard(double %p)
8 define void @discard_double(double noundef %p) {
9 entry:
10   call void @llvm.dx.discard(double %p)
11   ret void