mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
14 lines
223 B
LLVM
14 lines
223 B
LLVM
|
; RUN: opt -instsimplify -S < %s | FileCheck %s
|
||
|
|
||
|
define void @test1() {
|
||
|
call void @llvm.assume(i1 1)
|
||
|
ret void
|
||
|
|
||
|
; CHECK-LABEL: @test1
|
||
|
; CHECK-NOT: llvm.assume
|
||
|
; CHECK: ret void
|
||
|
}
|
||
|
|
||
|
declare void @llvm.assume(i1) nounwind
|
||
|
|