[compiler-rt] [llvm] [CallPromotionUtils]Implement conditional indirect call promotion with vtable-based comparison (PR #81378)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 13:45:21 PDT 2024
================
@@ -185,12 +187,30 @@ static void createRetBitCast(CallBase &CB, Type *RetTy, CastInst **RetBitCast) {
U->replaceUsesOfWith(&CB, Cast);
}
+// Returns the or result of all icmp instructions.
+static Value *getOrResult(const SmallVector<Value *, 2> &ICmps,
----------------
minglotus-6 wrote:
done.
https://github.com/llvm/llvm-project/pull/81378
More information about the llvm-commits
mailing list