mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Clean the triple, add check lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee6fd6a2b2
commit
39c14efd6d
@ -1,8 +1,9 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-linux -march=x86 | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
|
||||
|
||||
|
||||
define void @t(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind readonly {
|
||||
; CHECK: pandn
|
||||
define void @t0(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind readonly {
|
||||
; CHECK: t0
|
||||
; CHECK: pand
|
||||
; CHECK: ret
|
||||
%cmp1 = icmp ne <2 x i64> %src1, zeroinitializer
|
||||
%cmp2 = icmp ne <2 x i64> %src2, zeroinitializer
|
||||
%t1 = and <2 x i1> %cmp1, %cmp2
|
||||
@ -12,7 +13,9 @@ define void @t(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind reado
|
||||
}
|
||||
|
||||
define void @t2(<3 x i64>* %dst, <3 x i64> %src1, <3 x i64> %src2) nounwind readonly {
|
||||
; CHECK-NOT: pandn
|
||||
; CHECK: t2
|
||||
; CHECK-NOT: pand
|
||||
; CHECK: ret
|
||||
%cmp1 = icmp ne <3 x i64> %src1, zeroinitializer
|
||||
%cmp2 = icmp ne <3 x i64> %src2, zeroinitializer
|
||||
%t1 = and <3 x i1> %cmp1, %cmp2
|
||||
|
Loading…
x
Reference in New Issue
Block a user