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
19 lines
731 B
LLVM
19 lines
731 B
LLVM
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | FileCheck %s
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin | FileCheck %s
|
|
|
|
; This test verifies that we choose "assembler variant 1" (which GCC
|
|
; uses for "new-style mnemonics" as opposed to POWER mnemonics) when
|
|
; processing multi-variant inline asm statements, on all subtargets.
|
|
|
|
; CHECK: subfe
|
|
; CHECK-NOT: sfe
|
|
|
|
define i32 @test(i32 %in1, i32 %in2) {
|
|
entry:
|
|
%0 = tail call i32 asm "$(sfe$|subfe$) $0,$1,$2", "=r,r,r"(i32 %in1, i32 %in2)
|
|
ret i32 %0
|
|
}
|
|
|