[llvm] [ThinLTO] Add tail call flag to call edges in summary (PR #74043)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 15:49:37 PST 2023


================
@@ -21,7 +21,7 @@
 ; CHECK-NEXT:    <FLAGS
 ; See if the call to func is registered.
 ; The value id 1 matches the second FUNCTION record above.
-; CHECK-NEXT:    <PERMODULE {{.*}} op7=1/>
+; CHECK-NEXT:    <PERMODULE_PROFILE {{.*}} op7=1
----------------
teresajohnson wrote:

I considered that but it isn't just a straight NFC renaming - we have to change the format at the use sites too. I.e. we would have to make all the previously non-PROFILE cases in the BitcodeWriter create a PROFILE version with just an unknown hotness value. Which is doable but I wasn't sure if it was worth it since it doesn't make sense on its own. wdyt?

https://github.com/llvm/llvm-project/pull/74043


More information about the llvm-commits mailing list