[PATCH] D33946: [InlineCost] Find identical loads in the callee

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 13:21:20 PDT 2017


hfinkel added inline comments.


================
Comment at: lib/Analysis/InlineCost.cpp:1133
+      case Intrinsic::dbg_value:
+        // These intrinsics don't clobber loads so that we don't need to
+        // disable load elimination.
----------------
llvm.ptr.annotation seems like it might belong in this list too (maybe this is the same list as isAssumeLikeIntrinsic in ValueTracking.cpp?).


Repository:
  rL LLVM

https://reviews.llvm.org/D33946





More information about the llvm-commits mailing list