llvm-project
5a526624 - [HLSL] implement the rcp intrinsic (#83857)

Commit
1 year ago
[HLSL] implement the rcp intrinsic (#83857) This PR implements the frontend for llvm#70100 This PR is part 1 of 2. Part 2 requires an intrinsic to instructions lowering. - `Builtins.td` - add an `rcp` builtin - `CGBuiltin.cpp` - add the builtin to intrinsic lowering - `hlsl_intrinsics.h` - add the `rcp` api - `SemaChecking.cpp` - reuse frac's sema checks - `IntrinsicsDirectX.td` - add the llvm intrinsic
Author
Parents
Loading