mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Add a missing test case for r258847.
llvm-svn: 258848
This commit is contained in:
parent
20b64d0452
commit
08a3a793bf
21
test/CodeGen/X86/x86-analyze-branch-jne-jp.ll
Normal file
21
test/CodeGen/X86/x86-analyze-branch-jne-jp.ll
Normal file
@ -0,0 +1,21 @@
|
||||
; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK
|
||||
|
||||
; Test if the negation of the non-equality check between floating points are
|
||||
; translated to jnp followed by jne.
|
||||
|
||||
; CHECK: jne
|
||||
; CHECK-NEXT: jnp
|
||||
define void @foo(float %f) {
|
||||
entry:
|
||||
%cmp = fcmp une float %f, 0.000000e+00
|
||||
br i1 %cmp, label %if.then, label %if.end
|
||||
|
||||
if.then:
|
||||
tail call void @a()
|
||||
br label %if.end
|
||||
|
||||
if.end:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @a()
|
Loading…
Reference in New Issue
Block a user