[PATCH] D54227: AMDGPU/InsertWaitcnts: Use foreach loops for inst and wait event types

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 14:15:49 PST 2018


nhaehnle created this revision.
nhaehnle added reviewers: msearles, rampitec, scott.linder, kanarayan.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl, arsenm.

It hides the type casting ugliness, and I happened to have to add a new
such loop (in a later patch).


Repository:
  rL LLVM

https://reviews.llvm.org/D54227

Files:
  lib/Target/AMDGPU/SIInsertWaitcnts.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54227.173028.patch
Type: text/x-patch
Size: 6073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/6dc7b610/attachment.bin>


More information about the llvm-commits mailing list