Loading
  1. ; ModuleID = '<stdin>'
  2. target 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-n8:16:32:64-S128"
  3. target triple = "x86_64-pc-linux-gnu"
  4.  
  5. @str = private unnamed_addr constant [12 x i8] c"hello world\00"
  6.  
  7. ; Function Attrs: nounwind uwtable
  8. define i32 @main() #0 {
  9.   %puts = tail call i32 @puts(i8* getelementptr inbounds ([12 x i8]* @str, i64 0, i64 0))
  10.   ret i32 0
  11. }
  12.  
  13. ; Function Attrs: nounwind
  14. declare i32 @puts(i8* nocapture) #1
  15.  
  16. attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
  17. attributes #1 = { nounwind }
  18.