[llvm-branch-commits] [CostModel] No cost for llvm.allow.{runtime, ubsan}.check() (PR #86064)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 21 11:27:03 PDT 2024


================
@@ -714,6 +714,8 @@ class TargetTransformInfoImplBase {
     switch (ICA.getID()) {
     default:
       break;
+    case Intrinsic::allow_runtime_check:
----------------
vitalybuka wrote:

Not sure, probably all assume like should be there,
but `Intrinsic::objectsize` does not look like it.

I guess missing instruction as parameter prevents use of isAssumeLikeIntrinsic

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


More information about the llvm-branch-commits mailing list