1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/CodeGen/AArch64/fast-isel-assume.ll
Ahmed Bougacha 68225bc785 [FastISel] Ignore @llvm.assume.
llvm-svn: 276410
2016-07-22 12:54:53 +00:00

15 lines
342 B
LLVM

; RUN: llc -mtriple=aarch64-- -fast-isel -fast-isel-abort=4 -verify-machineinstrs < %s | FileCheck %s
; Check that we ignore the assume intrinsic.
; CHECK-LABEL: test:
; CHECK: // BB#0:
; CHECK-NEXT: ret
define void @test(i32 %a) {
%tmp0 = icmp slt i32 %a, 0
call void @llvm.assume(i1 %tmp0)
ret void
}
declare void @llvm.assume(i1)