[PATCH] D33535: [PM] Teach the PGO instrumentation pasess to run GlobalDCE before instrumenting code.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 22:53:48 PDT 2017


davide added inline comments.


================
Comment at: test/Transforms/GlobalDCE/externally_available.ll:17
 
-; test_global should not be emitted to the .s file.
-; CHECK-NOT: test_global
- at test_global = available_externally global i32 4
-
+; test_function2 isn't actually dead even though its available externaly.
+; CHECK: define available_externally i32 @test_function2()
----------------
Minor.
its -> it's  
externaly -> externally.


https://reviews.llvm.org/D33535





More information about the llvm-commits mailing list