[llvm-branch-commits] [llvm] [StaticDataLayout] Factor out a helper function for section prefix eligibility and use it in both optimizer and codegen (PR #162348)

Mingming Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 10 15:41:37 PDT 2025


================
@@ -0,0 +1,42 @@
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+;; A minimal test case. llc will crash if global variables already has a section
----------------
mingmingl-llvm wrote:

done in https://github.com/llvm/llvm-project/pull/162938 to pre-commit the test case.

https://github.com/llvm/llvm-project/pull/162348


More information about the llvm-branch-commits mailing list