diff --git a/test/CodeGen/X86/i128-ret.ll b/test/CodeGen/X86/i128-ret.ll new file mode 100644 index 00000000000..50c4e0f6bbc --- /dev/null +++ b/test/CodeGen/X86/i128-ret.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq 8(%rdi), %rdx' && +; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq (%rdi), %rax' + +define i128 @test(i128 *%P) { + %A = load i128* %P + ret i128 %A +} +