llvm/llvm/test/Transforms/DCE/intrinsics-systemz.ll

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
; RUN: opt -S < %s -passes=dce  | FileCheck %s

declare <16 x i8> @llvm.s390.vlbb(ptr, i32)
declare <16 x i8> @llvm.s390.vll(i32, ptr)
declare <16 x i8> @llvm.s390.vlrl(i32, ptr)

define void @test_llvm_s390.vlbb(ptr %a) {
; CHECK-LABEL: define void @test_llvm_s390.vlbb(
; CHECK-SAME: ptr [[A:%.*]]) {
; CHECK-NEXT:    ret void
;
  %v = call <16 x i8> @llvm.s390.vlbb(ptr %a, i32 8)
  ret void
}

define void @test_llvm_s390.vll(i32 %a, ptr %b) {
; CHECK-LABEL: define void @test_llvm_s390.vll(
; CHECK-SAME: i32 [[A:%.*]], ptr [[B:%.*]]) {
; CHECK-NEXT:    ret void
;
  %v = call <16 x i8> @llvm.s390.vll(i32 %a, ptr %b)
  ret void
}

define void @test_llvm_s390.vlrl(i32 %a, ptr %b) {
; CHECK-LABEL: define void @test_llvm_s390.vlrl(
; CHECK-SAME: i32 [[A:%.*]], ptr [[B:%.*]]) {
; CHECK-NEXT:    ret void
;
  %v = call <16 x i8> @llvm.s390.vlrl(i32 %a, ptr %b)
  ret void
}