[PATCH] D50340: [Local] Add dbg location on unreachable inst in changeToUnreachable

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 7 12:31:23 PDT 2018


vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!



================
Comment at: unittests/Transforms/Utils/Local.cpp:627
+  ASSERT_TRUE(isa<UnreachableInst>(&B));
+  ASSERT_TRUE(B.hasMetadata());
+
----------------
Nit, this assertion is now redundant.


Repository:
  rL LLVM

https://reviews.llvm.org/D50340





More information about the llvm-commits mailing list