llvm-project/llvm/test/CodeGen/PowerPC/dssall.ll

22 lines
639 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-ibm-aix-xcoff | \
; RUN: FileCheck %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-- | \
; RUN: FileCheck %s --check-prefix=NOTAIX
define dso_local void @test() local_unnamed_addr {
; CHECK-LABEL: test:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: nop
; CHECK-NEXT: blr
;
; NOTAIX-LABEL: test:
; NOTAIX: # %bb.0: # %entry
; NOTAIX-NEXT: dssall
; NOTAIX-NEXT: blr
entry:
tail call void @llvm.ppc.altivec.dssall()
ret void
}
declare void @llvm.ppc.altivec.dssall()