[AMDGPU] Remove BoolToList class
authorJay Foad <jay.foad@amd.com>
Mon, 13 Mar 2023 08:23:05 +0000 (08:23 +0000)
committerJay Foad <jay.foad@amd.com>
Mon, 13 Mar 2023 09:22:52 +0000 (09:22 +0000)
commit23b0df72d272015f72800980dc029cca5bd991f0
tree30620f824180995b2f8a4a1bdc8aef59058d9038
parentb884f4ef0a2de3d0f24111411dff663fd68c2eb0
[AMDGPU] Remove BoolToList class

Replace all:
  foreach _ = BoolToList<cond>.ret in
with:
  if cond then

Thanks to Philip Reames for D145711 which enabled this.
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/VOP1Instructions.td
llvm/lib/Target/AMDGPU/VOP2Instructions.td
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/lib/Target/AMDGPU/VOPCInstructions.td
llvm/lib/Target/AMDGPU/VOPInstructions.td