[PATCH] D66969: Output XCOFF object text section header and symbol entry for program code

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 10:11:17 PDT 2019


This revision was automatically updated to reflect the committed changes.
DiggerLin marked 3 inline comments as done.
Closed by commit rG41ca91f2995b: [AIX][XCOFF] Output XCOFF object text section header and symbol entry for… (authored by DiggerLin).

Changed prior to commit:
  https://reviews.llvm.org/D66969?vs=224604&id=225066#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66969/new/

https://reviews.llvm.org/D66969

Files:
  llvm/test/CodeGen/PowerPC/aix-return55.ll


Index: llvm/test/CodeGen/PowerPC/aix-return55.ll
===================================================================
--- /dev/null
+++ llvm/test/CodeGen/PowerPC/aix-return55.ll
@@ -0,0 +1,11 @@
+; RUN: llc -mcpu=pwr9 -mtriple=powerpc-ibm-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
+
+
+define dso_local signext i32 @foo() {
+entry:
+  ret i32 55
+; CHECK-LABEL: .foo:
+; CHECK: li 3, 55
+; CHECK: blr
+}
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66969.225066.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191015/641718c7/attachment.bin>


More information about the llvm-commits mailing list