[PATCH] D129803: [BOLT][TEST] Add icp-inline.s test

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 20:44:01 PDT 2022


Amir marked 2 inline comments as done.
Amir added inline comments.


================
Comment at: bolt/test/X86/icp-inline.s:36
+# CHECK-ICP-INLINE: Binary Function "main" after indirect-call-promotion
+# CHECK-ICP-INLINE: callq *(%rcx,%rax,8)
+# CHECK-ICP-INLINE: End of Function "main"
----------------
rafauler wrote:
> rafauler wrote:
> > Perhaps add a check that no line containing "callq bar" is found, to check that ICP was not performed?
> oh but if it is, it would be inlined. nevermind.
Added the check nevertheless.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129803



More information about the llvm-commits mailing list