[PATCH] D51995: AMDGPU: Generate VALU ThreeOp Integer instructions
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 12 14:34:54 PDT 2018
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/VOP3Instructions.td:481
+ SDValue Src2 = Operands[2];
+ return (Src0->isDivergent() + Src1->isDivergent() + Src2->isDivergent()) >= 2;
+ }]
----------------
rampitec wrote:
> This deserves an explanation I guess.
Also it seems too restrictive. It prohibits the selection even if scalar value is an inlinable literal.
Repository:
rL LLVM
https://reviews.llvm.org/D51995
More information about the llvm-commits
mailing list