mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
38caf19333
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277624 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
536 B
LLVM
16 lines
536 B
LLVM
; RUN: llc -verify-machineinstrs -O0 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
|
|
; RUN: llc -verify-machineinstrs -O0 -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
; This verifies that the code to update VRSAVE has been removed for SVR4.
|
|
|
|
define <4 x float> @bar(<4 x float> %v) nounwind {
|
|
entry:
|
|
%v.addr = alloca <4 x float>, align 16
|
|
store <4 x float> %v, <4 x float>* %v.addr, align 16
|
|
%0 = load <4 x float>, <4 x float>* %v.addr, align 16
|
|
ret <4 x float> %0
|
|
}
|
|
|
|
; CHECK-NOT: mfspr
|
|
; CHECK-NOT: mtspr
|