[llvm] [DirectX] Set function-level flag Int64Ops in DXIL Shader Flags Analysis (PR #129089)
S. Bharadwaj Yadavalli via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 28 12:49:51 PST 2025
================
@@ -99,6 +99,20 @@ void ModuleShaderFlags::updateFunctionFlags(ComputedShaderFlags &CSF,
}
}
+ if (!CSF.Int64Ops)
+ CSF.Int64Ops =
+ I.getType()->isIntegerTy() && I.getType()->getScalarSizeInBits() == 64;
----------------
bharadwajy wrote:
Can `I.getType()->isIntegerTy(64);` be used here - as well as on line 108 - instead?
https://github.com/llvm/llvm-project/pull/129089
More information about the llvm-commits
mailing list