[AMDGPU][NFC] Remove unused defvar in AMDGPUInstructions.td.
authorAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>
Tue, 30 Nov 2021 11:11:06 +0000 (16:41 +0530)
committerAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>
Tue, 30 Nov 2021 11:33:37 +0000 (17:03 +0530)
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td

index 418a6c3..551ab7f 100644 (file)
@@ -259,7 +259,6 @@ def csh_mask_64 : PatFrag<(ops node:$src0), (and node:$src0, imm),
   }
 
 foreach width = [16, 32, 64] in {
-defvar mask = !sub(width, 1);
 defvar csh_mask = !cast<SDPatternOperator>("csh_mask_"#width);
 
 def cshl_#width : PatFrags<(ops node:$src0, node:$src1),