-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0689893A6096A278.ll
52 lines (43 loc) · 2.14 KB
/
0689893A6096A278.ll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
; ModuleID = '/usr/local/google/home/aeubanks/repos/test-suite/SingleSource/Regression/C/gcc-c-torture/execute/20071211-1.c'
source_filename = "/usr/local/google/home/aeubanks/repos/test-suite/SingleSource/Regression/C/gcc-c-torture/execute/20071211-1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.s = type { i64 }
@sv = dso_local local_unnamed_addr global %struct.s zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
%bf.load = load i64, ptr @sv, align 8
%bf.set = or i64 %bf.load, -1099511627776
store i64 %bf.set, ptr @sv, align 8
tail call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !5
%bf.load1 = load i64, ptr @sv, align 8
%bf.lshr = lshr i64 %bf.load1, 40
%inc = add nuw nsw i64 %bf.lshr, 1
%bf.value = and i64 %inc, 16777215
%bf.shl = shl nuw i64 %bf.value, 40
%bf.clear3 = and i64 %bf.load1, 1099511627775
%bf.set4 = or i64 %bf.shl, %bf.clear3
store i64 %bf.set4, ptr @sv, align 8
%cmp.not = icmp eq i64 %bf.value, 0
br i1 %cmp.not, label %if.end, label %if.then
if.then: ; preds = %entry
tail call void @abort() #3
unreachable
if.end: ; preds = %entry
ret i32 0
}
; Function Attrs: noreturn
declare void @abort() local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
attributes #3 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 17.0.0"}
!5 = !{i64 258}