mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-12 23:40:54 +00:00
39008ac365
This variant is (as documented in the TD) for disassembler use only, and should not be used in patterns - it is longer, and is broken on 64-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276347 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
360 B
LLVM
19 lines
360 B
LLVM
; RUN: llc -mtriple=x86_64-pc-linux -mattr=+avx512f --show-mc-encoding < %s | FileCheck %s
|
|
|
|
declare i1 @bar()
|
|
|
|
; CHECK-LABEL: @foo
|
|
; CHECK-NOT: andb {{.*}} # encoding: [0x82,
|
|
define i1 @foo(i1 %i) nounwind {
|
|
entry:
|
|
br i1 %i, label %if, label %else
|
|
|
|
if:
|
|
%r = call i1 @bar()
|
|
br label %else
|
|
|
|
else:
|
|
%ret = phi i1 [%r, %if], [true, %entry]
|
|
ret i1 %ret
|
|
}
|