Fixed line endings

llvm-svn: 277199
This commit is contained in:
Simon Pilgrim 2016-07-29 18:58:57 +00:00
parent b39236b6a0
commit 455460f310
1 changed files with 94 additions and 94 deletions

View File

@ -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, <i128 -1, i128 -1>
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, <i128 -1, i128 -1>
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, <i128 -1, i128 -1>
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, <i128 -1, i128 -1>
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, <i128 -1, i128 -1>
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, <i128 -1, i128 -1>
store <2 x i128> %0, <2 x i128>* %r, align 16
ret void
}