mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
9307c93821
Summary: `AsmPrinter::emitGlobalIndirectSymbol` is dependent on `MCStreamer::emitAssignment` to produce `.set` directives for alias symbols; however, the `.set` pseudo-op on AIX is documented as not usable with external relocatable terms or expressions, which limits its applicability in generating alias symbols. Disable generating aliases on AIX until a different implementation strategy is available. Reviewers: cebowleratibm, jasonliu, sfertile, daltenty, DiggerLin Reviewed By: jasonliu Differential Revision: https://reviews.llvm.org/D79044
11 lines
448 B
LLVM
11 lines
448 B
LLVM
; RUN: not --crash llc < %s -mtriple powerpc-ibm-aix-xcoff 2>&1 | FileCheck %s
|
|
; RUN: not --crash llc < %s -mtriple powerpc64-ibm-aix-xcoff 2>&1 | FileCheck %s
|
|
|
|
; Check that, while generation of aliases on AIX remains unimplemented, llc dies
|
|
; with an appropriate message instead of generating incorrect output when an
|
|
; alias is encountered.
|
|
|
|
define i32 @a() { ret i32 0 }
|
|
; CHECK: ERROR: module has aliases
|
|
@b = internal alias i32 (), i32 ()* @a
|