[PATCH] D65088: [AMDGPU][RFC] New llvm.amdgcn.ballot intrinsic
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 08:03:44 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp:737
case Intrinsic::amdgcn_fcmp:
+ case Intrinsic::amdgcn_ballot:
case Intrinsic::amdgcn_if_break:
----------------
Can you add a test for this in test/Analysis/DivergenceAnalysis/AMDGPU
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:4258-4260
+ return DAG.getNode(
+ AMDGPUISD::SETCC, SL, VT, DAG.getZExtOrTrunc(Src, SL, MVT::i32),
+ DAG.getConstant(0, SL, MVT::i32), DAG.getCondCode(ISD::SETNE));
----------------
DAG.getSetCC?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65088/new/
https://reviews.llvm.org/D65088
More information about the llvm-commits
mailing list