[PATCH] D117887: [NVPTX] Expose float tys min, max, abs, neg as builtins

Jakub Chlanda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 9 11:20:18 PST 2022


jchlanda added inline comments.


================
Comment at: llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp:162
 
     SimplifyAction(Instruction::BinaryOps BinaryOp, FtzRequirementTy FtzReq)
         : BinaryOp(BinaryOp), FtzRequirement(FtzReq) {}
----------------
tra wrote:
> The new 3-argument constructor above obviates the need for this one.
I'm not sure if it does, the 3-way takes `Intrinsic`, while this one `Instruction`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117887/new/

https://reviews.llvm.org/D117887



More information about the cfe-commits mailing list