xref: /llvm-project/llvm/test/CodeGen/X86/no-and8ri8.ll (revision c523333bbf83a88b065ec34c816b64da4a428b66)
1; RUN: llc -mtriple=x86_64-pc-linux -mattr=+avx512f --show-mc-encoding < %s | FileCheck %s
2
3declare i1 @bar()
4
5; CHECK-LABEL: @foo
6; CHECK-NOT: andb {{.*}} # encoding: [0x82,
7define i1 @foo(i1 %i) nounwind {
8entry:
9  br i1 %i, label %if, label %else
10
11if:
12  %r = call i1 @bar()
13  br label %else
14
15else:
16  %ret = phi i1 [%r, %if], [true, %entry]
17  ret i1 %ret
18}
19