[llvm-branch-commits] [llvm] [NFC][CallPromotionUtils]Extract a helper function versionCallSiteWithCond from versionCallSite (PR #81181)

Teresa Johnson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 12 12:48:53 PST 2024


================
@@ -267,7 +264,6 @@ static void createRetBitCast(CallBase &CB, Type *RetTy, CastInst **RetBitCast) {
 /// Is replaced by the following:
 ///
 ///   cond_bb:
-///     %cond = icmp eq i32 ()* %ptr, @func
----------------
teresajohnson wrote:

I'm not sure these conditions should be completely removed. Perhaps just show something like `%cond = Cond`.

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


More information about the llvm-branch-commits mailing list