1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py 2; RUN: opt -dce -S --enable-knowledge-retention < %s | FileCheck %s 3 4define void @test(i32* %P) { 5; CHECK-LABEL: @test( 6; CHECK-NEXT: call void @llvm.assume(i1 true) [ "dereferenceable"(i32* [[P:%.*]], i64 4), "nonnull"(i32* [[P]]), "align"(i32* [[P]], i64 4) ] 7; CHECK-NEXT: ret void 8; 9 %a = load i32, i32* %P 10 ret void 11} 12