Skip to content

Instantly share code, notes, and snippets.

@Blei
Created May 17, 2012 16:53
Show Gist options
  • Save Blei/2720163 to your computer and use it in GitHub Desktop.
Save Blei/2720163 to your computer and use it in GitHub Desktop.
i32 fail
target datalayout = "e-p:16:16:16-i8:16:16-i16:16:16-i32:16:16-s0:16:16-n16"
target triple = "dcpu16"
define void @storei32(i32* nocapture %a, i32 %b) nounwind {
entry:
store i32 %b, i32* %a, align 1, !tbaa !0
ret void
}
will be expanded to
:storei32 ; @storei32
; BB#0: ; %entry
SET [0x2+A], C
SET [A], B
SET PC, POP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment