[llvm] [Xtensa] Fix literal section emit for ConstantPool entries. (PR #200132)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 02:26:24 PDT 2026


================
@@ -0,0 +1,9 @@
+; RUN: llc -mtriple=xtensa -function-sections --mcpu=esp32 --filetype=obj < %s\
+; RUN: | llvm-objdump -r -s --triple=xtensa --mcpu=esp32 - | FileCheck %s
+
+; CHECK-LABEL: Contents of section .literal.func:
+; CHECK:       0000 88130000                             ....
+
+define i32 @func() #0 {
----------------
arsenm wrote:

Dead attribute group 

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


More information about the llvm-commits mailing list