mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
f31f603963
This test was hitting an assertion in the value mapper because the IRLinker was trying to map two times @A while materializing the initializer for @C. Fix http://llvm.org/PR27850 Differential Revision: http://reviews.llvm.org/D20586 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270757 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
366 B
LLVM
14 lines
366 B
LLVM
; RUN: llvm-link %s -S -o - | FileCheck %s
|
|
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-apple-macosx10.9"
|
|
|
|
; CHECK-DAG: @A = internal constant i8 1
|
|
; CHECK-DAG: @B = alias i8, i8* @A
|
|
; CHECK-DAG: @C = global [2 x i8*] [i8* @A, i8* @B]
|
|
|
|
@A = internal constant i8 1
|
|
@B = alias i8, i8* @A
|
|
@C = global [2 x i8*] [i8* @A, i8* @B]
|
|
|
|
|