summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/fast-isel-ret.ll
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-02-13 14:57:10 +0000
committerdim <dim@FreeBSD.org>2016-02-13 14:57:10 +0000
commit97a7b8a20a989eb4cf3d9465e1451de6cd05fa41 (patch)
tree0daaa3c98a8029d259c5918dfa1c13c9d4fe7971 /test/CodeGen/PowerPC/fast-isel-ret.ll
parent44c4732640f764c943d7814138396141c0f4646b (diff)
downloadFreeBSD-src-97a7b8a20a989eb4cf3d9465e1451de6cd05fa41.zip
FreeBSD-src-97a7b8a20a989eb4cf3d9465e1451de6cd05fa41.tar.gz
Vendor import of llvm release_38 branch r260756:
https://llvm.org/svn/llvm-project/llvm/branches/release_38@260756
Diffstat (limited to 'test/CodeGen/PowerPC/fast-isel-ret.ll')
-rw-r--r--test/CodeGen/PowerPC/fast-isel-ret.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/fast-isel-ret.ll b/test/CodeGen/PowerPC/fast-isel-ret.ll
index e05ef7d..0adb5a9 100644
--- a/test/CodeGen/PowerPC/fast-isel-ret.ll
+++ b/test/CodeGen/PowerPC/fast-isel-ret.ll
@@ -186,3 +186,12 @@ entry:
; ELF64: blr
ret i32 -1
}
+
+define zeroext i16 @ret20() nounwind {
+entry:
+; ELF64-LABEL: ret20
+; ELF64: lis{{.*}}0
+; ELF64: ori{{.*}}32768
+; ELF64: blr
+ ret i16 32768
+}
OpenPOWER on IntegriCloud