pkg(llvm_ir-12.0.1): Added llvm_ir 12.0.1

This commit is contained in:
Niki4tap 2021-10-06 12:52:59 +00:00
parent eb6d00c9d7
commit 82d6dfd3e9
6 changed files with 31 additions and 0 deletions

10
packages/llvm_ir/12.0.1/test.ll vendored Normal file
View file

@ -0,0 +1,10 @@
@.str = private unnamed_addr constant [3 x i8] c"OK\n"
declare i32 @puts(i8* nocapture) nounwind
define i32 @main() {
%cast210 = getelementptr [3 x i8],[3 x i8]* @.str, i64 0, i64 0
call i32 @puts(i8* %cast210)
ret i32 0
}