mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Just rename the functions, relying on matching a instruction that has the same name as a symbol is way too fragile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07265b81b3
commit
edb7fe5630
@ -1,8 +1,8 @@
|
|||||||
; RUN: llc < %s -march=x86 -mcpu=nehalem | FileCheck %s
|
; RUN: llc < %s -march=x86 -mcpu=nehalem | FileCheck %s
|
||||||
|
|
||||||
define <4 x i32> @psignd(<4 x i32> %a, <4 x i32> %b) nounwind ssp {
|
define <4 x i32> @signd(<4 x i32> %a, <4 x i32> %b) nounwind {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: psignd:
|
; CHECK: signd:
|
||||||
; CHECK: psignd
|
; CHECK: psignd
|
||||||
; CHECK-NOT: sub
|
; CHECK-NOT: sub
|
||||||
; CHECK: ret
|
; CHECK: ret
|
||||||
@ -15,9 +15,9 @@ entry:
|
|||||||
ret <4 x i32> %cond
|
ret <4 x i32> %cond
|
||||||
}
|
}
|
||||||
|
|
||||||
define <4 x i32> @pblendvb(<4 x i32> %b, <4 x i32> %a, <4 x i32> %c) nounwind ssp {
|
define <4 x i32> @blendvb(<4 x i32> %b, <4 x i32> %a, <4 x i32> %c) nounwind {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: pblendvb:
|
; CHECK: blendvb:
|
||||||
; CHECK: pblendvb
|
; CHECK: pblendvb
|
||||||
; CHECK: ret
|
; CHECK: ret
|
||||||
%b.lobit = ashr <4 x i32> %b, <i32 31, i32 31, i32 31, i32 31>
|
%b.lobit = ashr <4 x i32> %b, <i32 31, i32 31, i32 31, i32 31>
|
||||||
|
Loading…
Reference in New Issue
Block a user