llvm.org GIT mirror llvm / release_40 test / Transforms / InstSimplify / assume.ll
release_40

Tree @release_40 (Download .tar.gz)

assume.ll @release_40raw · history · blame

; NOTE: Assertions have been autogenerated by update_test_checks.py
; RUN: opt -instsimplify -S < %s | FileCheck %s

define void @test1() {
; CHECK-LABEL: @test1(
; CHECK:         ret void
;
  call void @llvm.assume(i1 1)
  ret void

}

declare void @llvm.assume(i1) nounwind