[llvm] [AArch64][BOLT] Ensure tentative code layout for cold BBs runs. (PR #96609)
    Vladislav Khmelevsky via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct  2 03:08:11 PDT 2024
    
    
  
================
@@ -0,0 +1,27 @@
+// This test checks that tentative code layout for cold blocks always runs.
+// It commonly happens when using lite mode with split functions.
+
+// REQUIRES: system-linux
+
+// RUN: %clang %cflags -o %t %s
+// RUN: %clang %s %cflags -Wl,-q -o %t
+// RUN: link_fdata --no-lbr %s %t %t.fdata
+// RUN: llvm-bolt %t -o %t.bolt --data %t.fdata -split-functions  \
----------------
yota9 wrote:
Please remove extra space at the end
https://github.com/llvm/llvm-project/pull/96609
    
    
More information about the llvm-commits
mailing list