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
24
external/llvm/test/CodeGen/PowerPC/vrspill.ll
vendored
Normal file
24
external/llvm/test/CodeGen/PowerPC/vrspill.ll
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -verify-machineinstrs -fast-isel=false -mcpu=pwr7 < %s | FileCheck %s
|
||||
; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -mattr=+vsx -verify-machineinstrs -fast-isel=false -mcpu=pwr7 < %s | FileCheck -check-prefix=CHECK-VSX %s
|
||||
|
||||
; This verifies that we generate correct spill/reload code for vector regs.
|
||||
|
||||
define void @addrtaken(i32 %i, <4 x float> %w) nounwind {
|
||||
entry:
|
||||
%i.addr = alloca i32, align 4
|
||||
%w.addr = alloca <4 x float>, align 16
|
||||
store i32 %i, i32* %i.addr, align 4
|
||||
store <4 x float> %w, <4 x float>* %w.addr, align 16
|
||||
call void @foo(i32* %i.addr)
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK: stvx 2,
|
||||
|
||||
; We would prefer to test for "stxvw4x 34," but current -O0 code
|
||||
; needlessly generates "vor 3,2,2 / stxvw4x 35,0,3", so we'll settle for
|
||||
; the opcode.
|
||||
; CHECK-VSX: stxvw4x
|
||||
|
||||
declare void @foo(i32*)
|
Reference in New Issue
Block a user