14 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=gvn -S | FileCheck %s3 4define i1 @foo() {5; CHECK-LABEL: @foo(6; CHECK-NEXT: call void @llvm.assume(i1 undef)7; CHECK-NEXT: ret i1 undef8;9 call void @llvm.assume(i1 undef)10 ret i1 undef11}12 13declare void @llvm.assume(i1)14