[PATCH] D127751: [MergeFunctions] Preserve symbols used llvm.used/llvm.compiler.used
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 21:54:16 PDT 2022
MaskRay added inline comments.
================
Comment at: llvm/test/Transforms/MergeFunc/merge-used.ll:33
+
+; CHECK-LABEL: define internal i32 @a(i32 %0) unnamed_addr
+; CHECK-NEXT: tail call i32 @b(i32 %0)
----------------
Add a comment that this is preserved due to `llvm.compiler.used`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127751/new/
https://reviews.llvm.org/D127751
More information about the llvm-commits
mailing list