[PATCH] D12997: [Inline] Use AssumptionCache from the right Function

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 19 15:52:47 PDT 2015


joker.eph added inline comments.

================
Comment at: test/Transforms/Inline/inline-assume.ll:12
@@ +11,3 @@
+; CHECK: call void @llvm.assume(i1 undef)
+; CHECK: unreachable
+
----------------
You don't really check that bar was indeed inlined, because this would match the content of bar.
I think there should be *after* that a CHECK-LABEL for bar()


http://reviews.llvm.org/D12997





More information about the llvm-commits mailing list