source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/anon-functions.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 690 bytes
Line 
1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
2; RUN: verify-uselistorder %s
3; PR3611
4
5target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
6target triple = "x86_64-unknown-linux-gnu"
7
8@f = alias void (), void ()* @0         ; <void ()*> [#uses=0]
9@g = alias void (), void ()* @1         ; <void ()*> [#uses=0]
10@h = external global void ()*           ; <void ()*> [#uses=0]
11
12define internal void @0() nounwind {
13entry:
14  store void()* @0, void()** @h
15        br label %return
16
17return:         ; preds = %entry
18        ret void
19}
20
21define internal void @1() nounwind {
22entry:
23        br label %return
24
25return:         ; preds = %entry
26        ret void
27}
Note: See TracBrowser for help on using the repository browser.