[PATCH] D81260: [AMDGPU][NFC] Skip processing intrinsics that do not become real instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 13:28:00 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp:1729
   for (auto &BB : F) {
     for (BasicBlock::iterator I = BB.begin(), E = BB.end(); I != E; ) {
       // Ignore non-calls.
----------------
Can also use instructionsWithoutDebug iterator instead


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81260/new/

https://reviews.llvm.org/D81260





More information about the llvm-commits mailing list