[llvm] [DirectX] Set function-level flag Int64Ops in DXIL Shader Flags Analysis (PR #129089)

Deric Cheung via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 12:56:54 PST 2025


================
@@ -99,6 +99,20 @@ void ModuleShaderFlags::updateFunctionFlags(ComputedShaderFlags &CSF,
     }
   }
 
+  if (!CSF.Int64Ops)
+    CSF.Int64Ops =
+        I.getType()->isIntegerTy() && I.getType()->getScalarSizeInBits() == 64;
----------------
Icohedron wrote:

Yes. I didn't realize that was a valid overload.

https://github.com/llvm/llvm-project/pull/129089


More information about the llvm-commits mailing list