summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMandeep Singh Grang <mgrang@codeaurora.org>2017-06-27 23:58:19 +0000
committerMandeep Singh Grang <mgrang@codeaurora.org>2017-06-27 23:58:19 +0000
commit0c72172e320f77380ad2562d2dfe1abb14a25e1c (patch)
tree1adb6b9dd925fc3d79b027ffdc9228fc8ef27e14 /llvm/test
parent2fd6b1651df895079451f4efc253afb7a5009b30 (diff)
downloadbcm5719-llvm-0c72172e320f77380ad2562d2dfe1abb14a25e1c.tar.gz
bcm5719-llvm-0c72172e320f77380ad2562d2dfe1abb14a25e1c.zip
[COFF, ARM64] Add support for Windows ARM64 COFF format
Summary: This is the llvm part of the initial implementation to support Windows ARM64 COFF format. I will gradually add more functionality in subsequent patches. Reviewers: ruiu, rnk, t.p.northover, compnerd Reviewed By: ruiu, compnerd Subscribers: aemerson, mgorny, javed.absar, llvm-commits, kristof.beyls Differential Revision: https://reviews.llvm.org/D34705 llvm-svn: 306490
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/AArch64/coff-basic.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/MC/AArch64/coff-basic.ll b/llvm/test/MC/AArch64/coff-basic.ll
new file mode 100644
index 00000000000..23f06b5360d
--- /dev/null
+++ b/llvm/test/MC/AArch64/coff-basic.ll
@@ -0,0 +1,8 @@
+; RUN: llc -mtriple aarch64-windows < %s | FileCheck %s
+
+define i32 @foo() {
+entry:
+ ret i32 1
+}
+
+; CHECK: .globl foo
OpenPOWER on IntegriCloud