[PATCH] D67307: [MemorySSA] Do not create memoryaccesses for debug info intrinsics.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 16:24:20 PDT 2019


aprantl added inline comments.


================
Comment at: lib/Analysis/MemorySSA.cpp:1740
+        II->getIntrinsicID() == Intrinsic::dbg_label ||
+        II->getIntrinsicID() == Intrinsic::dbg_value)
       return nullptr;
----------------
If you are not going to use a switch here, dyn_cast<DbgInfoIntrinsic>() is shorter.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67307





More information about the llvm-commits mailing list