[llvm] [DirectX][NFC] Use LLVM Types in DXIL Operation specifications in DXIL.td (PR #81692)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 12:10:44 PST 2024
================
@@ -108,55 +96,55 @@ class DXILOperation<string name, int opCode, DXILOpClass opClass, DXILOpCategory
class LLVMIntrinsic<Intrinsic llvm_intrinsic_> { Intrinsic llvm_intrinsic = llvm_intrinsic_; }
def Sin : DXILOperation<"Sin", 13, UnaryClass, UnaryFloatCategory, "returns sine(theta) for theta in radians.",
- [f16Ty,f32Ty], ReadNone,
+ [llvm_half_ty,llvm_float_ty], ReadNone,
----------------
bogner wrote:
Slightly more readable with a space after the `,`
https://github.com/llvm/llvm-project/pull/81692
More information about the llvm-commits
mailing list