[llvm] [DirectX] Add support to lower LLVM intrinsics ceil, cos, fabs, floor and smax to DXIL Ops. (PR #78767)
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 11:45:03 PST 2024
================
@@ -28,6 +28,12 @@ void initializeDXILPrepareModulePass(PassRegistry &);
/// Pass to convert modules into DXIL-compatable modules
ModulePass *createDXILPrepareModulePass();
+/// Initializer for DXIL strength reduce
+void initializeDXILStrengthReducePass(PassRegistry &);
+
+/// Pass to reduce strength during lowering into DXIL-compatable modules
+ModulePass *createDXILStrengthReducePass();
----------------
python3kgae wrote:
Do we need DXILStrengthReducePass for add these new intrinsics?
https://github.com/llvm/llvm-project/pull/78767
More information about the llvm-commits
mailing list