[llvm] [NVPTX] Add support for f16 fabs (PR #116107)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 13:52:57 PST 2024
================
@@ -864,10 +864,15 @@ NVPTXTargetLowering::NVPTXTargetLowering(const NVPTXTargetMachine &TM,
AddPromotedToType(Op, MVT::bf16, MVT::f32);
}
for (const auto &Op : {ISD::FABS}) {
----------------
justinfargnoli wrote:
Nit: Delete the `for` loop and replace the uses of `Op` with `ISD::FABS`.
https://github.com/llvm/llvm-project/pull/116107
More information about the llvm-commits
mailing list