[PATCH] D21405: [PGO] IRPGO pre-cleanup pass changes

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 13:50:12 PDT 2016


davidxl added inline comments.

================
Comment at: test/Transforms/PGOProfile/preinline.ll:8
@@ +7,3 @@
+; GEN: %pgocount = load i64, i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo
+; GEN-NOT: %pgocount.i = load i64, i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc__stdin__bar
+  %call = call i32 @bar()
----------------
Also add a check that the call to bar is actually eliminated


http://reviews.llvm.org/D21405





More information about the llvm-commits mailing list