You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
26
external/llvm/test/CodeGen/PowerPC/pr31144.ll
vendored
Normal file
26
external/llvm/test/CodeGen/PowerPC/pr31144.ll
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -mattr=+vsx < %s | FileCheck %s --implicit-check-not lxsiwzx
|
||||
|
||||
declare void @bar(double)
|
||||
|
||||
define void @foo1(i8* %p) {
|
||||
entry:
|
||||
%0 = load i8, i8* %p, align 1
|
||||
%conv = uitofp i8 %0 to double
|
||||
call void @bar(double %conv)
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @foo1
|
||||
; CHECK: mtvsrwz
|
||||
}
|
||||
|
||||
define void @foo2(i16* %p) {
|
||||
entry:
|
||||
%0 = load i16, i16* %p, align 2
|
||||
%conv = uitofp i16 %0 to double
|
||||
call void @bar(double %conv)
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: @foo2
|
||||
; CHECK: mtvsrwz
|
||||
}
|
||||
|
Reference in New Issue
Block a user