Last active
October 17, 2019 21:54
-
-
Save jdoerfert/f58dda857d36abbe66284ac4065f7b53 to your computer and use it in GitHub Desktop.
./bin/opt -attributor --attributor-disable=false poster.ll -S
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'poster.ll' | |
source_filename = "poster.ll" | |
@G = common global i32 0 | |
; Function Attrs: nofree nosync nounwind willreturn writeonly | |
define internal i32 @local(i32* nocapture nonnull writeonly align 32 dereferenceable(4) %P) #0 { | |
store i32 41, i32* %P, align 32 | |
br label %end | |
end: ; preds = %0 | |
ret i32 undef | |
} | |
; Function Attrs: nofree nosync nounwind willreturn writeonly | |
define i32 @visible(i32* nocapture nonnull writeonly align 32 dereferenceable(4) %P) #0 { | |
%r = call i32 @local(i32* nocapture nonnull writeonly align 32 dereferenceable(4) %P) #0 | |
ret i32 41 | |
} | |
attributes #0 = { nofree nosync nounwind willreturn writeonly } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment