[PATCH] D49874: AMDGPU: Add clamp bit to dot intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 27 02:03:04 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:7550
+ return DAG.getNode(AMDGPUISD::FDOT2, SL, MVT::f32, Vec1, Vec2, FMAAcc,
+ DAG.getConstant(0, SL, MVT::i1));
+ }
----------------
should be getTargetConstant. Is there any reason we also can't match clamp here?
https://reviews.llvm.org/D49874
More information about the llvm-commits
mailing list