[PATCH] D48305: [IR] Introduce helpers to skip meta-instructions

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 17:33:02 PDT 2018


aprantl added inline comments.


================
Comment at: lib/IR/Instruction.cpp:603
+
+  if (isa<DbgInfoIntrinsic>(II))
+    return true;
----------------
I think it would be more efficient to include these cases in the switch below?


https://reviews.llvm.org/D48305





More information about the llvm-commits mailing list