blob: 50f510a09b6381bb791b56ea0fe050f9a979a9ed [file] [log] [blame]
Ahmed Bougacha29333c92016-07-22 12:54:53 +00001; RUN: llc -mtriple=aarch64-- -fast-isel -fast-isel-abort=4 -verify-machineinstrs < %s | FileCheck %s
2
3; Check that we ignore the assume intrinsic.
4
5; CHECK-LABEL: test:
Francis Visoiu Mistrih25528d62017-12-04 17:18:51 +00006; CHECK: // %bb.0:
Ahmed Bougacha29333c92016-07-22 12:54:53 +00007; CHECK-NEXT: ret
8define void @test(i32 %a) {
9 %tmp0 = icmp slt i32 %a, 0
10 call void @llvm.assume(i1 %tmp0)
11 ret void
12}
13
14declare void @llvm.assume(i1)