[PATCH] D77653: AMDGPU/GlobalISel: Fix selection of scalar f64 G_FABS
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 06:55:04 PDT 2020
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:1940-1942
if (!RBI.constrainGenericRegister(Src, AMDGPU::SReg_64RegClass, *MRI) ||
!RBI.constrainGenericRegister(Dst, AMDGPU::SReg_64RegClass, *MRI))
return false;
----------------
Why is this needed here but not in selectG_FABS?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77653/new/
https://reviews.llvm.org/D77653
More information about the llvm-commits
mailing list