Compare commits
No commits in common. "2ae63a4d69e801584a7d5d9242a1ac8876396317" and "69ea3ec7a0fb30efacca2768f920cee8c1679343" have entirely different histories.
2ae63a4d69
...
69ea3ec7a0
|
@ -1,6 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
curl -L "https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang+llvm-12.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz" -o llvm-ir.tar.xz
|
|
||||||
|
|
||||||
tar xf llvm-ir.tar.xz clang+llvm-12.0.1-x86_64-linux-gnu-ubuntu-/bin --strip-components=1
|
|
||||||
|
|
||||||
rm llvm-ir.tar.xz
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
llc "$@" -o binary.s
|
|
||||||
clang binary.s -o binary
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
export PATH=$PWD/bin:$PATH
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"language": "llvm_ir",
|
|
||||||
"version": "12.0.1",
|
|
||||||
"aliases": ["llvm", "llvm-ir", "ll"]
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
shift
|
|
||||||
binary "$@"
|
|
|
@ -1,10 +0,0 @@
|
||||||
@.str = private unnamed_addr constant [2 x i8] c"OK"
|
|
||||||
|
|
||||||
declare i32 @puts(i8* nocapture) nounwind
|
|
||||||
|
|
||||||
define i32 @main() {
|
|
||||||
%cast210 = getelementptr [2 x i8],[2 x i8]* @.str, i64 0, i64 0
|
|
||||||
|
|
||||||
call i32 @puts(i8* %cast210)
|
|
||||||
ret i32 0
|
|
||||||
}
|
|
Loading…
Reference in New Issue