llvm.org GIT mirror llvm / a5912ea
[AMDGPU] Fixed incorrect test in vcnd/vcmp optimization This fixes a test I introduced in change D59191 (that added src0 and src1 modifiers to the v_cndmask instruction for disassembly purposes). Spotted by David Binderman in bug 41488. Differential Revision: https://reviews.llvm.org/D60652 Change-Id: I6ac95e66cd84e812ed3359ad57bcd0e13198ba0c git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358392 91177308-0d34-0410-b5e6-96231b3b80d8 Tim Renouf 6 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
222222 return AMDGPU::NoRegister;
223223
224224 if (TII->hasModifiersSet(*Sel, AMDGPU::OpName::src0_modifiers) ||
225 TII->hasModifiersSet(*Sel, AMDGPU::OpName::src0_modifiers))
225 TII->hasModifiersSet(*Sel, AMDGPU::OpName::src1_modifiers))
226226 return AMDGPU::NoRegister;
227227
228228 Op1 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src0);