================
@@ -1,5 +1,5 @@
-; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -passes=simplifycfg 
-simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py 
UTC_ARGS: --check-globals
+; RUN: opt < %s -passes=prof-inject,simplifycfg -profcheck-weights-for-test 
-simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
----------------
mtrofin wrote:

Note: this test is perfect in that it covers all the cases in the change 
(verified with some appropriately - placed `dbgs()`). To avoid cumbersomely 
adding `!prof` everywhere, we're using the feature introduced in the previous 
patch.

https://github.com/llvm/llvm-project/pull/159645
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to