1cdfd884bSS. Bharadwaj Yadavalli; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s 262d6bebaSHelena Kotas 362d6bebaSHelena Kotas; DXIL operation trunc does not support double overload type 4*8cf85653SJustin Bogner; CHECK: in function trunc_double 5*8cf85653SJustin Bogner; CHECK-SAME: Cannot create Trunc operation: Invalid overload type 662d6bebaSHelena Kotas 762d6bebaSHelena Kotasdefine noundef double @trunc_double(double noundef %a) { 862d6bebaSHelena Kotasentry: 962d6bebaSHelena Kotas %elt.trunc = call double @llvm.trunc.f64(double %a) 1062d6bebaSHelena Kotas ret double %elt.trunc 1162d6bebaSHelena Kotas} 12