[llvm] c932a0e - [Driver,DXIL] Fix build

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 12:09:46 PDT 2024


Author: Fangrui Song
Date: 2024-08-20T12:09:41-07:00
New Revision: c932a0eb2ee222380a7fe237b7efb872c39e7d6b

URL: https://github.com/llvm/llvm-project/commit/c932a0eb2ee222380a7fe237b7efb872c39e7d6b
DIFF: https://github.com/llvm/llvm-project/commit/c932a0eb2ee222380a7fe237b7efb872c39e7d6b.diff

LOG: [Driver,DXIL] Fix build

Added: 
    

Modified: 
    llvm/lib/Target/DirectX/DXIL.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/DirectX/DXIL.td b/llvm/lib/Target/DirectX/DXIL.td
index bed525a5e5699b..0c5bc20ccc0bb8 100644
--- a/llvm/lib/Target/DirectX/DXIL.td
+++ b/llvm/lib/Target/DirectX/DXIL.td
@@ -333,9 +333,9 @@ def Abs :  DXILOp<6, unary> {
 def Saturate :  DXILOp<7, unary> {
   let Doc = "Clamps a single or double precision floating point value to [0.0f...1.0f].";
   let LLVMIntrinsic = int_dx_saturate;
-  let arguments = [overloadTy];
-  let result = overloadTy;
-  let overloads = [Overloads<DXIL1_0, [halfTy, floatTy, doubleTy]>];
+  let arguments = [OverloadTy];
+  let result = OverloadTy;
+  let overloads = [Overloads<DXIL1_0, [HalfTy, FloatTy, DoubleTy]>];
   let stages = [Stages<DXIL1_0, [all_stages]>];
   let attributes = [Attributes<DXIL1_0, [ReadNone]>];
 }


        


More information about the llvm-commits mailing list