[llvm] [BOLT] Add support for safe-icf (PR #116275)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 16:36:27 PST 2024
================
@@ -0,0 +1,40 @@
+# clang++ -O2 helper.cpp -c -o helperProf.o
+# int returnFive() {
+# return 5;
+# }
+# int returnFourOrFive(int val) {
+# return val == 1 ? 4 : 5;
+# }
+
+ .text
+ .file "helper.cpp"
+ .globl _Z10returnFivev # -- Begin function _Z10returnFivev
----------------
ayermolo wrote:
Other tests like infer_no_exit.s or cmove-conversion.s has them.
This seems like busy work.
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list