Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / TableGen / GlobalISelEmitter-zero-instr.td
blobc8a8cab2b65232a438d66d5e4b85f74853573bd7
1 // RUN: llvm-tblgen -gen-global-isel -optimize-match-table=false -I %p/../../include -I %p/Common %s -o /dev/null --warn-on-skipped-patterns 2>&1 < %s 2>&1 | FileCheck %s
3 include "llvm/Target/Target.td"
4 include "GlobalISelEmitterCommon.td"
6 // CHECK: warning: Skipped pattern: Dst pattern root isn't a known leaf
7 def : Pat<(zext (i16 (trunc i32:$src))),
8           (i32 $src)>;