summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-19 04:26:32 +0000
committerChris Lattner <sabre@nondot.org>2011-04-19 04:26:32 +0000
commitc59290a34c0ef1ae3d5c8549118a6210501aea93 (patch)
tree0b962c014a22d71cb34b04ae72cb9ec258aa4e9b /llvm/test/CodeGen/X86/fast-isel-x86-64.ll
parent2c8a4c3b1b9806b7f7024e3a94aebfdd57e137da (diff)
downloadbcm5719-llvm-c59290a34c0ef1ae3d5c8549118a6210501aea93.tar.gz
bcm5719-llvm-c59290a34c0ef1ae3d5c8549118a6210501aea93.zip
be layout aware, to produce:
testb $1, %al je LBB0_2 ## BB#1: ## %if.then movb $0, %al instead of: testb $1, %al jne LBB0_1 jmp LBB0_2 LBB0_1: ## %if.then movb $0, %al how 'bout that. llvm-svn: 129749
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-x86-64.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
index fe8530ca296..0c289e37975 100644
--- a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll
@@ -142,5 +142,7 @@ if.end: ; preds = %if.then, %entry
ret void
; CHECK: test12:
; CHECK: testb $1,
+; CHECK-NEXT: je L
+; CHECK-NEXT: movb $0, %al
}
OpenPOWER on IntegriCloud