summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/shift-i256.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/shift-i256.ll')
-rw-r--r--test/CodeGen/X86/shift-i256.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/shift-i256.ll b/test/CodeGen/X86/shift-i256.ll
new file mode 100644
index 0000000..d5f65a6
--- /dev/null
+++ b/test/CodeGen/X86/shift-i256.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -march=x86
+; RUN: llc < %s -march=x86-64
+
+define void @t(i256 %x, i256 %a, i256* nocapture %r) nounwind readnone {
+entry:
+ %0 = ashr i256 %x, %a
+ store i256 %0, i256* %r
+ ret void
+}