[PATCH] D46298: AMDGPU: Remove deadcode in isSDNodeSourceOfDivergence()
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 12:34:11 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.cpp:785-790
bool AMDGPUTargetLowering::isSDNodeSourceOfDivergence(const SDNode * N,
FunctionLoweringInfo * FLI, DivergenceAnalysis * DA) const
{
+ if (getTargetMachine().getTargetTriple().getArch() == Triple::r600)
+ return false;
+
----------------
Just move this into SIISlLowering instead?
Repository:
rL LLVM
https://reviews.llvm.org/D46298
More information about the llvm-commits
mailing list