blob: dfb76d1628bddded1070170d65bc1eac5bfb4edc [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc -mtriple=aarch64 -global-isel=0 < %s | FileCheck %s
; RUN: llc -mtriple=aarch64 -global-isel=1 < %s | FileCheck %s
; Check that lifetime.start/end with poison argument are ignored.
define void @test() {
; CHECK-LABEL: test:
; CHECK: // %bb.0:
; CHECK-NEXT: ret
call void @llvm.lifetime.start.p0(ptr poison)
call void @llvm.lifetime.end.p0(ptr poison)
ret void
}