summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GVN/pr34908.ll
blob: c2b58ad34a62c704b8048d2e95dfd5cca6ac6eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -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)
OpenPOWER on IntegriCloud