[PATCH] D15798: Fix for Bug 24852 (crash with -debug -instcombine)

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 11:13:03 PST 2016


joker.eph accepted this revision.
joker.eph added a reviewer: joker.eph.
joker.eph added a comment.
This revision is now accepted and ready to land.

LGTM.


================
Comment at: unittests/IR/AsmWriterTest.cpp:23
@@ +22,3 @@
+  // PR24852: Ensure that an instruction can be printed even when it
+  // has no parent.
+  LLVMContext Ctx;
----------------
"has a metadata attached but no parent."


http://reviews.llvm.org/D15798





More information about the llvm-commits mailing list