You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
18
external/llvm/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll
vendored
Normal file
18
external/llvm/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: opt -constmerge -S < %s | FileCheck %s
|
||||
; PR8978
|
||||
|
||||
declare i32 @zed(%struct.foobar*, %struct.foobar*)
|
||||
|
||||
%struct.foobar = type { i32 }
|
||||
; CHECK: bar.d
|
||||
@bar.d = unnamed_addr constant %struct.foobar zeroinitializer, align 4
|
||||
; CHECK-NOT: foo.d
|
||||
@foo.d = internal constant %struct.foobar zeroinitializer, align 4
|
||||
define i32 @main() nounwind ssp {
|
||||
entry:
|
||||
; CHECK: bar.d
|
||||
%call2 = tail call i32 @zed(%struct.foobar* @foo.d, %struct.foobar* @bar.d)
|
||||
nounwind
|
||||
ret i32 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user