Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created July 14, 2020 11:28
Show Gist options
  • Save alexcrichton/f4250ff27cefa9de0fe71899cb6619a7 to your computer and use it in GitHub Desktop.
Save alexcrichton/f4250ff27cefa9de0fe71899cb6619a7 to your computer and use it in GitHub Desktop.
; ModuleID = 'foo.3a1fbbbh-cgu.0'
source_filename = "foo.3a1fbbbh-cgu.0"
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define void @bar() unnamed_addr #0 {
start:
tail call void @inline_me()
ret void
}
; Function Attrs: nounwind
define void @inline_me() unnamed_addr #1 {
start:
tail call void @foo()
ret void
}
; Function Attrs: nounwind
declare void @foo() unnamed_addr #1
attributes #0 = { nounwind "target-cpu"="generic" "target-features"="+simd128" }
attributes #1 = { nounwind "target-cpu"="generic" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment