From 455460f3107a7d29afc0a3609828a9673c82cd5e Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 29 Jul 2016 18:58:57 +0000 Subject: [PATCH] Fixed line endings llvm-svn: 277199 --- llvm/test/CodeGen/X86/shift-i128.ll | 188 ++++++++++++++++++------------------ 1 file changed, 94 insertions(+), 94 deletions(-) diff --git a/llvm/test/CodeGen/X86/shift-i128.ll b/llvm/test/CodeGen/X86/shift-i128.ll index 77b526b..f7dce6c 100644 --- a/llvm/test/CodeGen/X86/shift-i128.ll +++ b/llvm/test/CodeGen/X86/shift-i128.ll @@ -1,94 +1,94 @@ -; RUN: llc < %s -march=x86 -; RUN: llc < %s -march=x86-64 - -; -; Scalars -; - -define void @test_lshr_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { -entry: - %0 = lshr i128 %x, %a - store i128 %0, i128* %r, align 16 - ret void -} - -define void @test_ashr_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { -entry: - %0 = ashr i128 %x, %a - store i128 %0, i128* %r, align 16 - ret void -} - -define void @test_shl_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { -entry: - %0 = shl i128 %x, %a - store i128 %0, i128* %r, align 16 - ret void -} - -define void @test_lshr_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { -entry: - %0 = lshr i128 %x, -1 - store i128 %0, i128* %r, align 16 - ret void -} - -define void @test_ashr_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { -entry: - %0 = ashr i128 %x, -1 - store i128 %0, i128* %r, align 16 - ret void -} - -define void @test_shl_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { -entry: - %0 = shl i128 %x, -1 - store i128 %0, i128* %r, align 16 - ret void -} - -; -; Vectors -; - -define void @test_lshr_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = lshr <2 x i128> %x, %a - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} - -define void @test_ashr_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = ashr <2 x i128> %x, %a - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} - -define void @test_shl_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = shl <2 x i128> %x, %a - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} - -define void @test_lshr_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = lshr <2 x i128> %x, - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} - -define void @test_ashr_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = ashr <2 x i128> %x, - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} - -define void @test_shl_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { -entry: - %0 = shl <2 x i128> %x, - store <2 x i128> %0, <2 x i128>* %r, align 16 - ret void -} +; RUN: llc < %s -march=x86 +; RUN: llc < %s -march=x86-64 + +; +; Scalars +; + +define void @test_lshr_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { +entry: + %0 = lshr i128 %x, %a + store i128 %0, i128* %r, align 16 + ret void +} + +define void @test_ashr_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { +entry: + %0 = ashr i128 %x, %a + store i128 %0, i128* %r, align 16 + ret void +} + +define void @test_shl_i128(i128 %x, i128 %a, i128* nocapture %r) nounwind { +entry: + %0 = shl i128 %x, %a + store i128 %0, i128* %r, align 16 + ret void +} + +define void @test_lshr_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { +entry: + %0 = lshr i128 %x, -1 + store i128 %0, i128* %r, align 16 + ret void +} + +define void @test_ashr_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { +entry: + %0 = ashr i128 %x, -1 + store i128 %0, i128* %r, align 16 + ret void +} + +define void @test_shl_i128_outofrange(i128 %x, i128* nocapture %r) nounwind { +entry: + %0 = shl i128 %x, -1 + store i128 %0, i128* %r, align 16 + ret void +} + +; +; Vectors +; + +define void @test_lshr_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = lshr <2 x i128> %x, %a + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} + +define void @test_ashr_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = ashr <2 x i128> %x, %a + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} + +define void @test_shl_v2i128(<2 x i128> %x, <2 x i128> %a, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = shl <2 x i128> %x, %a + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} + +define void @test_lshr_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = lshr <2 x i128> %x, + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} + +define void @test_ashr_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = ashr <2 x i128> %x, + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} + +define void @test_shl_v2i128_outofrange(<2 x i128> %x, <2 x i128>* nocapture %r) nounwind { +entry: + %0 = shl <2 x i128> %x, + store <2 x i128> %0, <2 x i128>* %r, align 16 + ret void +} -- 2.7.4