blob: 44ee56380d936be13c2d35b921405aa4b565abb6 [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=gvn -S | FileCheck %s
define i1 @foo() {
; CHECK-LABEL: @foo(
; CHECK-NEXT: call void @llvm.assume(i1 undef)
; CHECK-NEXT: ret i1 undef
;
call void @llvm.assume(i1 undef)
ret i1 undef
}
declare void @llvm.assume(i1)