[PATCH] D81515: [llvm] Release-mode ML InlineAdvisor

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 10:52:58 PDT 2020


davidxl added inline comments.


================
Comment at: llvm/test/Transforms/Inline/ML/bounds-checks.ll:37
+; CHECK-NOT: call i64 @f2
+; NOBOUNDS-NOT: @some_function
+; BOUNDS: call i64 @some_function
----------------
can you explain about the expected output?


================
Comment at: llvm/test/Transforms/Inline/ML/ml-test-release-mode.ll:1
+; The default inliner doesn't elide @adder, the ML inliner does.
+;
----------------
Why can't default inliner handle this case (adder call can be folded). 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81515/new/

https://reviews.llvm.org/D81515





More information about the llvm-commits mailing list