Advertisement
Guest User

Untitled

a guest
Mar 21st, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LLVM 0.98 KB | None | 0 0
  1. ; ModuleID = 'fib.c'
  2. source_filename = "fib.c"
  3. target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
  4. target triple = "x86_64-apple-macosx10.12.0"
  5.  
  6. ; Function Attrs: nounwind ssp uwtable
  7. define i32 @sum(i32, i32) #0 {
  8.   %3 = alloca i32, align 4
  9.   %4 = alloca i32, align 4
  10.   store i32 %0, i32* %3, align 4
  11.   store i32 %1, i32* %4, align 4
  12.   %5 = load i32, i32* %3, align 4
  13.   %6 = load i32, i32* %4, align 4
  14.   %7 = add nsw i32 %5, %6
  15.   ret i32 %7
  16. }
  17.  
  18. attributes #0 = { nounwind ssp uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+sse4.1,+ssse3" "unsafe-fp-math"="false" "use-soft-float"="false" }
  19.  
  20. !llvm.module.flags = !{!0}
  21. !llvm.ident = !{!1}
  22.  
  23. !0 = !{i32 1, !"PIC Level", i32 2}
  24. !1 = !{!"Apple LLVM version 8.0.0 (clang-800.0.42.1)"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement