[llvm] [DXIL] Model DXIL Class and Shader Model association of DXIL Ops in DXIL.td (PR #87803)
    Damyan Pepper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr  5 11:59:55 PDT 2024
    
    
  
================
@@ -1,5 +1,5 @@
 ; RUN: opt -S  -dxil-intrinsic-expansion  < %s | FileCheck %s --check-prefixes=CHECK,EXPCHECK
-; RUN: opt -S  -dxil-op-lower  < %s | FileCheck %s --check-prefixes=CHECK,DOPCHECK
+; RUN: opt -S  -dxil-op-lower  -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s --check-prefixes=CHECK,DOPCHECK
----------------
damyanp wrote:
Following the existing example seems reasonable to me.  It would probably be good to understand how that was chosen and to spread that knowledge a bit.  It looks like @llvm-beanz added some of those original tests that used library, maybe he can educate us.
https://github.com/llvm/llvm-project/pull/87803
    
    
More information about the llvm-commits
mailing list